Issue with smartBorders from XMonad.Layout.NoBorders

Hello everyone Seems like I've run over a bug in XMonad.Layout.NoBorders when using smartBorders. Steps to reproduce: 1. Open two windows w0 and w1 in a simple tiling mode 2. Click on window w1 while holding your mod key (window will start to float). Borders will now appear around window w1 3. Do the same with window w0, but DO NOT resize the window Notice how window w0 has no borders, which seems to be a bug to me. As soon as window w0 is resized, the borders appear. I'm using the latest snapshots of xmonad and xmonad-contrib from darcs. Best regards -- Džen

Hi Džen
Does w1 takes up the whole screen? This happens if you have no status
bar. To get borders in that case, I think you can use instead of
smartBorders:
lessBorders (Combine Difference Never OnlyFloat)
--
Adam
On Fri, Sep 2, 2011 at 11:06 AM, Džen
Hello everyone
Seems like I've run over a bug in XMonad.Layout.NoBorders when using smartBorders.
Steps to reproduce: 1. Open two windows w0 and w1 in a simple tiling mode 2. Click on window w1 while holding your mod key (window will start to float). Borders will now appear around window w1 3. Do the same with window w0, but DO NOT resize the window
Notice how window w0 has no borders, which seems to be a bug to me. As soon as window w0 is resized, the borders appear.
I'm using the latest snapshots of xmonad and xmonad-contrib from darcs.
Best regards
-- Džen
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

Hi Adam Oh ok makes sense, I use a status bar. But still I think that the behaviour of smartBorders is incorrect (or its documentation). Will have to try your solution with lessBorders, seems to be the solution that I'm looking for. -- Džen On 11/09/2011 17:16, adam vogt wrote:
Hi Džen
Does w1 takes up the whole screen? This happens if you have no status bar. To get borders in that case, I think you can use instead of smartBorders:
lessBorders (Combine Difference Never OnlyFloat)
-- Adam
participants (2)
-
adam vogt
-
Džen