summaryrefslogtreecommitdiffstats
path: root/XMonad/Main.hsc
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-09-09 04:12:24 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-09-09 18:23:17 +0200
commitbbf6258aaef308f2d564b4253d37e6c19f8050d9 (patch)
tree3615fd2ef9a00fc803c500ee05e5c2e3a8eeecb6 /XMonad/Main.hsc
parentc4630dfd41c7ee2bdb2cc9f75a139b51e28ea9e4 (diff)
downloadmetatile-bbf6258aaef308f2d564b4253d37e6c19f8050d9.tar
metatile-bbf6258aaef308f2d564b4253d37e6c19f8050d9.zip
Don't use X borders
Diffstat (limited to 'XMonad/Main.hsc')
-rw-r--r--XMonad/Main.hsc4
1 files changed, 1 insertions, 3 deletions
diff --git a/XMonad/Main.hsc b/XMonad/Main.hsc
index c038ecb..653ec9d 100644
--- a/XMonad/Main.hsc
+++ b/XMonad/Main.hsc
@@ -275,15 +275,13 @@ handle e@(ConfigureRequestEvent {ev_window = w}) = withDisplay $ \dpy -> do
ws <- gets windowset
wa <- io $ getWindowAttributes dpy w
- bw <- asks (borderWidth . config)
-
if not (member w ws)
then do io $ configureWindow dpy w (ev_value_mask e) $ WindowChanges
{ wc_x = ev_x e
, wc_y = ev_y e
, wc_width = ev_width e
, wc_height = ev_height e
- , wc_border_width = fromIntegral bw
+ , wc_border_width = 0
, wc_sibling = ev_above e
, wc_stack_mode = ev_detail e }
else io $ allocaXEvent $ \ev -> do