summaryrefslogtreecommitdiffstats
path: root/XMonad/Main.hsc
diff options
context:
space:
mode:
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