mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
xwayland: Initialize Present extension support also with rootful
Multiple benefits, in particular: * Fullscreen windows can hit the page flip path * X client presentation is properly synchronized to the Wayland compositor refresh cycle via frame events
This commit is contained in:
committed by
Michel Dänzer
parent
e391d53076
commit
f50ed265cf
@@ -1016,7 +1016,7 @@ xwl_screen_init(ScreenPtr pScreen, int argc, char **argv)
|
||||
}
|
||||
}
|
||||
#ifdef GLAMOR_HAS_GBM
|
||||
if (xwl_screen->glamor && xwl_screen->rootless)
|
||||
if (xwl_screen->glamor)
|
||||
xwl_screen->present = xwl_present_init(pScreen);
|
||||
#endif /* GLAMOR_HAS_GBM */
|
||||
#endif /* XWL_HAS_GLAMOR */
|
||||
|
||||
Reference in New Issue
Block a user