Commit 174cb91d authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer

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's avatarRoman Gilg <subdiff@gmail.com>
(cherry picked from commit b6b1161f)
parent 51ee6e5c
......@@ -270,10 +270,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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment