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:
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 */
|
||||
|
|
Loading…
Reference in New Issue