[PATCH 2/3] xwayland: Build without xshmfence

Kristian Høgsberg krh at bitplanet.net
Tue Apr 8 10:21:52 PDT 2014


On Tue, Apr 8, 2014 at 10:13 AM, Daniel Stone <daniel at fooishbar.org> wrote:
> 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?

No, the header is just the protoype for miSyncShmScreenInit().

Kristian

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


More information about the xorg-devel mailing list