[PATCH 2/3] xwayland: Build without xshmfence

Daniel Stone daniel at fooishbar.org
Tue Apr 8 10:13:00 PDT 2014


Hi,

On 8 April 2014 17:24, Kristian Høgsberg <krh at bitplanet.net> wrote:

> 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);


Doesn't this also need the syncshm.h include guarded?

The other two, though:
Reviewed-by: Daniel Stone <daniel at fooishbar.org>

Cheers,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140408/cc708305/attachment.html>


More information about the xorg-devel mailing list