1
0
mirror of https://github.com/xmonad/xmonad-contrib.git synced 2025-08-10 17:52:09 -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:
Andrea Rossato
2008-02-19 16:51:27 +00:00
parent 9cd93a043a
commit 172d422efb

@@ -60,4 +60,4 @@ instance LayoutModifier LayoutHints Window where
withDisplay $ \disp -> do
sh <- io $ getWMNormalHints disp w
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)