@ -492,7 +492,7 @@ wayland_compositor_handle_event(int fd, uint32_t mask, void *data)
if (mask & WL_EVENT_READABLE)
wl_display_iterate(c->parent.display, WL_DISPLAY_READABLE);
if (mask & WL_EVENT_WRITEABLE)
if (mask & WL_EVENT_WRITABLE)
wl_display_iterate(c->parent.display, WL_DISPLAY_WRITABLE);
return 1;
@ -434,7 +434,7 @@ wlsc_wm_get_selection_data(struct wlsc_wm *wm)
wm->property_source =
wl_event_loop_add_fd(wm->server->loop,
wm->data_source_fd,
WL_EVENT_WRITEABLE,
WL_EVENT_WRITABLE,
wlsc_wm_write_property,
wm);
wm->property_reply = reply;
@ -464,7 +464,7 @@ wlsc_wm_get_incr_chunk(struct wlsc_wm *wm)