aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2021-01-29 16:45:44 +0100
committerSimon Ser <contact@emersion.fr>2021-08-20 10:44:22 +0200
commitde1522aeee04e23522398fe5cee17af67de7602a (patch)
tree3f9e2e7f35446d48dfabf1cb3ef079012d664e1c /include
parent9b7803a9b36915d8e5f7a7e59bca578ab4c2e604 (diff)
xwayland: Allow to retrieve _NET_STARTUP_ID
This is use for startup notifications per startup-notifiation spec https://specifications.freedesktop.org/startup-notification-spec/startup-notification-latest.txt
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 1f0e5019..a91638eb 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -159,6 +159,7 @@ struct wlr_xwayland_surface {
char *class;
char *instance;
char *role;
+ char *startup_id;
pid_t pid;
bool has_utf8_title;
@@ -205,6 +206,7 @@ struct wlr_xwayland_surface {
struct wl_signal set_role;
struct wl_signal set_parent;
struct wl_signal set_pid;
+ struct wl_signal set_startup_id;
struct wl_signal set_window_type;
struct wl_signal set_hints;
struct wl_signal set_decorations;
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h
index d564a0e2..5e6bfee3 100644
--- a/include/xwayland/xwm.h
+++ b/include/xwayland/xwm.h
@@ -55,6 +55,7 @@ enum atom_name {
TEXT,
TIMESTAMP,
DELETE,
+ NET_STARTUP_ID,
NET_WM_WINDOW_TYPE_NORMAL,
NET_WM_WINDOW_TYPE_UTILITY,
NET_WM_WINDOW_TYPE_TOOLTIP,