aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-09-02 14:23:22 +1000
committeremersion <contact@emersion.fr>2018-09-02 08:50:04 +0200
commit69a5279f7983097e13d194e30f5233898ffa6ff8 (patch)
treebbd6afe9fac76bd75edf520900d1db05133c62b6 /include
parenta0bf3f150ee113351b021eade924e925b6dc0425 (diff)
xwayland: Add WM_STATE modal property
Adds a modal property to indicate whether the surface wants to be a modal.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/xwayland.h1
-rw-r--r--include/xwayland/xwm.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index 2eda768a..82ca63bc 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -138,6 +138,7 @@ struct wlr_xwayland_surface {
struct wl_event_source *ping_timer;
// _NET_WM_STATE
+ bool modal;
bool fullscreen;
bool maximized_vert, maximized_horz;
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h
index 08d37736..607cc797 100644
--- a/include/xwayland/xwm.h
+++ b/include/xwayland/xwm.h
@@ -40,6 +40,7 @@ enum atom_name {
_NET_WM_MOVERESIZE,
_NET_WM_NAME,
_NET_SUPPORTING_WM_CHECK,
+ _NET_WM_STATE_MODAL,
_NET_WM_STATE_FULLSCREEN,
_NET_WM_STATE_MAXIMIZED_VERT,
_NET_WM_STATE_MAXIMIZED_HORZ,