Merge branch 'master' into display-destroy

This commit is contained in:
emersion 2017-12-14 20:29:30 +01:00
commit 75ef7860bb
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
19 changed files with 111 additions and 28 deletions

View file

@ -33,6 +33,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;
};