mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-11 10:12:15 -07:00
LayoutHints: fix a wrong fix
The case analisys of my fix should be the other way around... this is the real fix.
This commit is contained in:
@@ -60,4 +60,4 @@ instance LayoutModifier LayoutHints Window where
|
|||||||
withDisplay $ \disp -> do
|
withDisplay $ \disp -> do
|
||||||
sh <- io $ getWMNormalHints disp w
|
sh <- io $ getWMNormalHints disp w
|
||||||
let (c',d') = adjBorders 1 bW . applySizeHints sh . adjBorders bW (-1) $ (c,d)
|
let (c',d') = adjBorders 1 bW . applySizeHints sh . adjBorders bW (-1) $ (c,d)
|
||||||
return (w, if isInStack s w then r else Rectangle a b c' d')
|
return (w, if isInStack s w then Rectangle a b c' d' else r)
|
||||||
|
Reference in New Issue
Block a user