aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/LayoutHints.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2008-02-19 17:51:27 +0100
committerAndrea Rossato <andrea.rossato@unibz.it>2008-02-19 17:51:27 +0100
commit36f427bfebf6701468341c27f9e01015d3537149 (patch)
tree848615e4a9cc3f6e797f1a0a1200404564fa352d /XMonad/Layout/LayoutHints.hs
parenta638f55ef6ece44b69f6d51339398f1dbc68d77a (diff)
downloadXMonadContrib-36f427bfebf6701468341c27f9e01015d3537149.tar.gz
XMonadContrib-36f427bfebf6701468341c27f9e01015d3537149.tar.xz
XMonadContrib-36f427bfebf6701468341c27f9e01015d3537149.zip
LayoutHints: fix a wrong fix
The case analisys of my fix should be the other way around... this is the real fix. darcs-hash:20080219165127-32816-a2c283dcd6160e5a3f776de214c63f8213681220.gz
Diffstat (limited to 'XMonad/Layout/LayoutHints.hs')
-rw-r--r--XMonad/Layout/LayoutHints.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Layout/LayoutHints.hs b/XMonad/Layout/LayoutHints.hs
index 6442934..f8aa47b 100644
--- a/XMonad/Layout/LayoutHints.hs
+++ b/XMonad/Layout/LayoutHints.hs
@@ -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)