[PATCH 2/3] xwayland: Build without xshmfence

Kristian Høgsberg krh at bitplanet.net
Tue Apr 8 09:24:11 PDT 2014


Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>
---
 hw/xwayland/xwayland.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c
index 5cecefd..844745a 100644
--- a/hw/xwayland/xwayland.c
+++ b/hw/xwayland/xwayland.c
@@ -573,8 +573,10 @@ xwl_screen_init(ScreenPtr pScreen, int argc, char **argv)
 
     fbPictureInit(pScreen, 0, 0);
 
+#ifdef HAVE_XSHMFENCE
     if (!miSyncShmScreenInit(pScreen))
         return FALSE;
+#endif
 
     xwl_screen->wayland_fd = wl_display_get_fd(xwl_screen->display);
     AddGeneralSocket(xwl_screen->wayland_fd);
-- 
1.9.0



More information about the xorg-devel mailing list