Also fix compositor-wayland event handler

dev
Kristian Høgsberg 14 years ago
parent b1868479ad
commit 95d843de11
  1. 4
      compositor/compositor-wayland.c

@ -446,7 +446,7 @@ update_event_mask(uint32_t mask, void *data)
return 0; return 0;
} }
static void static int
wayland_compositor_handle_event(int fd, uint32_t mask, void *data) wayland_compositor_handle_event(int fd, uint32_t mask, void *data)
{ {
struct wayland_compositor *c = 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); wl_display_iterate(c->parent.display, WL_DISPLAY_READABLE);
if (mask & WL_EVENT_WRITEABLE) if (mask & WL_EVENT_WRITEABLE)
wl_display_iterate(c->parent.display, WL_DISPLAY_WRITABLE); wl_display_iterate(c->parent.display, WL_DISPLAY_WRITABLE);
return 1;
} }
static void static void

Loading…
Cancel
Save