xwayland: add state support

This commit is contained in:
emersion 2017-09-29 22:26:03 +02:00
parent 98707c16ad
commit 97346e7a1b
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 78 additions and 6 deletions

View file

@ -44,6 +44,7 @@ struct wlr_xwayland_surface {
char *class;
char *instance;
struct wlr_xwayland_surface *parent;
list_t *state; // list of xcb_atom_t
struct {
struct wl_signal destroy;
@ -53,6 +54,7 @@ struct wlr_xwayland_surface {
struct wl_signal set_title;
struct wl_signal set_class;
struct wl_signal set_parent;
struct wl_signal set_state;
} events;
void *data;