aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-09-03 09:23:47 +0200
committerGitHub <noreply@github.com>2018-09-03 09:23:47 +0200
commitd31a267f36aa23d6ac40709226c0d4a939cf00b4 (patch)
treee91018bcc191d95c50fe599f3a15ab1a7fc6886e /include
parentd22431d969d055b4ef82b21daa6f7b6dfb3e1f2b (diff)
parentb8cc4a4152e5bf7bbe9644c63bcf0e874bb28322 (diff)
Merge pull request #1226 from RyanDwyer/xwayland-set-role
xwayland: Introduce set_role event
Diffstat (limited to 'include')
-rw-r--r--include/wlr/xwayland.h2
-rw-r--r--include/xwayland/xwm.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index cf1c2cd1..eb5d6985 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -116,6 +116,7 @@ struct wlr_xwayland_surface {
char *title;
char *class;
char *instance;
+ char *role;
pid_t pid;
bool has_utf8_title;
@@ -157,6 +158,7 @@ struct wlr_xwayland_surface {
struct wl_signal unmap;
struct wl_signal set_title;
struct wl_signal set_class;
+ struct wl_signal set_role;
struct wl_signal set_parent;
struct wl_signal set_pid;
struct wl_signal set_window_type;
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h
index 607cc797..3536bbc8 100644
--- a/include/xwayland/xwm.h
+++ b/include/xwayland/xwm.h
@@ -25,6 +25,7 @@ enum atom_name {
WM_HINTS,
WM_NORMAL_HINTS,
WM_SIZE_HINTS,
+ WM_WINDOW_ROLE,
MOTIF_WM_HINTS,
UTF8_STRING,
WM_S0,