aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Mai <l.mai@web.de>2008-03-26 18:28:44 +0100
committerLukas Mai <l.mai@web.de>2008-03-26 18:28:44 +0100
commit22f0e93dbe080786ed97afe10f6886b48d684a9c (patch)
treea517a0e5fe2f836810ab119eafdc08f96dd2b819
parentc7c457e933d08b0d72ca74ac3c169438f4c4de8d (diff)
downloadXMonadContrib-22f0e93dbe080786ed97afe10f6886b48d684a9c.tar.gz
XMonadContrib-22f0e93dbe080786ed97afe10f6886b48d684a9c.tar.xz
XMonadContrib-22f0e93dbe080786ed97afe10f6886b48d684a9c.zip
XMonad.Layout.NoBorders: fix floating fullscreen logic
darcs-hash:20080326172844-462cf-08fd02f2fafb0978c1020ca182e6be49e808b6f5.gz
-rw-r--r--XMonad/Layout/NoBorders.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Layout/NoBorders.hs b/XMonad/Layout/NoBorders.hs
index ec7de5c..ad55ea8 100644
--- a/XMonad/Layout/NoBorders.hs
+++ b/XMonad/Layout/NoBorders.hs
@@ -87,7 +87,7 @@ instance LayoutModifier SmartBorder Window where
[ w |
(w, W.RationalRect px py wx wy) <- M.toList . W.floating $ wset,
px <= 0, py <= 0,
- wx >= 1, wy >= 1
+ wx + px >= 1, wy + py >= 1
]
asks (borderWidth . config) >>= setBorders (s \\ ws)
setBorders ws 0