mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-25 17:21:51 -07:00
Manage struts even when _NET_WM_WINDOW_TYPE isn't a dock
Relates to #21
This commit is contained in:
@@ -140,7 +140,6 @@ docksEventHook (MapNotifyEvent { ev_window = w }) = do
|
|||||||
return (All True)
|
return (All True)
|
||||||
docksEventHook (PropertyEvent { ev_window = w
|
docksEventHook (PropertyEvent { ev_window = w
|
||||||
, ev_atom = a }) = do
|
, ev_atom = a }) = do
|
||||||
whenX (runQuery checkDock w) $ do
|
|
||||||
nws <- getAtom "_NET_WM_STRUT"
|
nws <- getAtom "_NET_WM_STRUT"
|
||||||
nwsp <- getAtom "_NET_WM_STRUT_PARTIAL"
|
nwsp <- getAtom "_NET_WM_STRUT_PARTIAL"
|
||||||
when (a == nws || a == nwsp) $ do
|
when (a == nws || a == nwsp) $ do
|
||||||
|
Reference in New Issue
Block a user