aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-09-29 23:03:01 +0200
committeremersion <contact@emersion.fr>2017-09-29 23:03:01 +0200
commit5002d968f303f6e678cbe87cc034b14d8f8b3ce8 (patch)
tree049a2f4ff12e6e7e37efa49a0db2bba0ba1b2dd5 /include/wlr
parentb78ae541583533dbcfbca2035c09dcd1e6c1b1bd (diff)
xwayland: add window_type support
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/xwayland.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index e67caf9f..bb85017e 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -47,6 +47,9 @@ struct wlr_xwayland_surface {
list_t *state; // list of xcb_atom_t
pid_t pid;
+ xcb_atom_t *window_type;
+ size_t window_type_len;
+
struct {
struct wl_signal destroy;
@@ -56,6 +59,8 @@ struct wlr_xwayland_surface {
struct wl_signal set_class;
struct wl_signal set_parent;
struct wl_signal set_state;
+ struct wl_signal set_pid;
+ struct wl_signal set_window_type;
} events;
void *data;