diff options
Diffstat (limited to 'present/present_scmd.c')
-rw-r--r-- | present/present_scmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/present/present_scmd.c b/present/present_scmd.c index 46fd9a1fd..200ded348 100644 --- a/present/present_scmd.c +++ b/present/present_scmd.c @@ -137,7 +137,7 @@ present_check_flip(RRCrtcPtr crtc, /* Does the window match the pixmap exactly? */ if (window->drawable.x != 0 || window->drawable.y != 0 || -#ifdef COMPOSITE +#if defined(COMPOSITE) || defined(ROOTLESS) window->drawable.x != pixmap->screen_x || window->drawable.y != pixmap->screen_y || #endif window->drawable.width != pixmap->drawable.width || |