From de1522aeee04e23522398fe5cee17af67de7602a Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 29 Jan 2021 16:45:44 +0100 Subject: 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 --- include/wlr/xwayland.h | 2 ++ include/xwayland/xwm.h | 1 + 2 files changed, 3 insertions(+) (limited to 'include') 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, -- cgit v1.2.3