aboutsummaryrefslogtreecommitdiff
path: root/include/xwayland/xwm.h
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2020-07-27 05:41:54 -0600
committerSimon Ser <contact@emersion.fr>2020-07-27 14:26:30 +0200
commit6d0ee53e1a3d270b8b783ffbc50b1da621ef7880 (patch)
tree033dbb5b3c35319fa23f7e78de334784cb1d6474 /include/xwayland/xwm.h
parent1ae2d976c0798d5aaaaced277e931e7e18187536 (diff)
xwm: Set _NET_WM_STATE_FOCUSED property for the focused surface
Certain clients require this property to be set for expected behavior. Most notably, steam client CSD maximize button no longer worked after unmaximizing once, unless the state was changed by another method. The state is unset whenever another surface gains focus.
Diffstat (limited to 'include/xwayland/xwm.h')
-rw-r--r--include/xwayland/xwm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h
index 1085cb14..a3e7132d 100644
--- a/include/xwayland/xwm.h
+++ b/include/xwayland/xwm.h
@@ -40,6 +40,7 @@ enum atom_name {
NET_ACTIVE_WINDOW,
NET_WM_MOVERESIZE,
NET_SUPPORTING_WM_CHECK,
+ NET_WM_STATE_FOCUSED,
NET_WM_STATE_MODAL,
NET_WM_STATE_FULLSCREEN,
NET_WM_STATE_MAXIMIZED_VERT,