48b2229150
Also, patch names has been updated to show respective xmonad-contib version Signed-off-by: Iurii Mykhalskyi <yriy.pma@gmail.com>
16 lines
631 B
Diff
16 lines
631 B
Diff
diff --git a/XMonad/Hooks/EwmhDesktops.hs b/XMonad/Hooks/EwmhDesktops.hs
|
|
index f6dd58ec..91409931 100644
|
|
--- a/XMonad/Hooks/EwmhDesktops.hs
|
|
+++ b/XMonad/Hooks/EwmhDesktops.hs
|
|
@@ -460,6 +460,10 @@ setActiveWindow w = withDisplay $ \dpy -> do
|
|
r <- asks theRoot
|
|
a <- getAtom "_NET_ACTIVE_WINDOW"
|
|
io $ changeProperty32 dpy r a wINDOW propModeReplace [fromIntegral w]
|
|
+ -- init _NET_WM_STATE to prevent gtk3 making apps look unfocused
|
|
+ a' <- getAtom "_NET_WM_STATE"
|
|
+ c' <- getAtom "ATOM"
|
|
+ io $ changeProperty32 dpy w a' c' propModeAppend []
|
|
|
|
setSupported :: X ()
|
|
setSupported = withDisplay $ \dpy -> do
|