From bbf6258aaef308f2d564b4253d37e6c19f8050d9 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 9 Sep 2013 04:12:24 +0200 Subject: Don't use X borders --- XMonad/Main.hsc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'XMonad/Main.hsc') 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 -- cgit v1.2.3