Also fix compositor-wayland event handler
This commit is contained in:
@@ -446,7 +446,7 @@ update_event_mask(uint32_t mask, void *data)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void
|
||||
static int
|
||||
wayland_compositor_handle_event(int fd, uint32_t mask, void *data)
|
||||
{
|
||||
struct wayland_compositor *c = data;
|
||||
@@ -455,6 +455,8 @@ wayland_compositor_handle_event(int fd, uint32_t mask, void *data)
|
||||
wl_display_iterate(c->parent.display, WL_DISPLAY_READABLE);
|
||||
if (mask & WL_EVENT_WRITEABLE)
|
||||
wl_display_iterate(c->parent.display, WL_DISPLAY_WRITABLE);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user