Merge branch 'master' into xwm-selection

This commit is contained in:
emersion 2017-12-14 11:20:38 +01:00
commit 6ef0219763
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
32 changed files with 268 additions and 54 deletions

View file

@ -34,6 +34,13 @@ struct wlr_xwayland {
struct wl_signal new_surface;
} events;
/**
* Add a custom event handler to xwayland. Return 1 if the event was
* handled or 0 to use the default wlr-xwayland handler. wlr-xwayland will
* free the event.
*/
int (*user_event_handler)(struct wlr_xwm *xwm, xcb_generic_event_t *event);
void *data;
};