present/wnmd: Remove dead check from present_wnmd_check_flip
present_wnmd_toplvl_pixmap_window returns a window with the same window pixmap, so the check could never fail. Reviewed-by: Roman Gilg <subdiff@gmail.com>
This commit is contained in:
parent
4c25356d6c
commit
b6b1161fd7
|
@ -305,10 +305,6 @@ present_wnmd_check_flip(RRCrtcPtr crtc,
|
|||
if (!screen_priv->wnmd_info->flip)
|
||||
return FALSE;
|
||||
|
||||
/* Can't flip redirected child windows */
|
||||
if (screen->GetWindowPixmap(window) != screen->GetWindowPixmap(toplvl_window))
|
||||
return FALSE;
|
||||
|
||||
/* Source pixmap must align with window exactly */
|
||||
if (x_off || y_off)
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in New Issue
Block a user