From 6d0ee53e1a3d270b8b783ffbc50b1da621ef7880 Mon Sep 17 00:00:00 2001 From: Scott Moreau Date: Mon, 27 Jul 2020 05:41:54 -0600 Subject: 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. --- include/xwayland/xwm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/xwayland') 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, -- cgit v1.2.3