<div dir="ltr"><div><div><div><div>I think I'd consider that a bug, and it's probably easy enough to fix it. This is a guess based on reading the source, so you should verify for yourself whether this changes things appropriately, but...<br><br>In XMonad.Layout.ThreeColumns.split3HorizontallyBy, swap the second two elements of the triple in the True branch, so that it reads:<br><br></div>    then ( Rectangle (sx + fromIntegral r3w) sy r1w sh<br></div>         , Rectangle sx sy r3w sh<br></div>         , Rectangle (sx + fromIntegral r3w + fromIntegral r1w) sy r2w sh )<br><br></div>~d<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 18, 2016 at 12:02 AM, Eyal Erez <span dir="ltr"><<a href="mailto:oneself@gmail.com" target="_blank">oneself@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><pre>Hi,

I have an ultrawide monitor and so I use ThreeColumns most of the
time.  I create it like so:

    ThreeColMid 1 (3/100) (1/3)

This works fine, however, I'm getting some strange behavior when
creating an closing windows.  I hope I can explain this with a small
diagram which shows window location as I create and close apps:

CREATE
1 [   a   ]
2 [b][ a  ]
3 [a][c][b]

CLOSE
1 [a][c][b]
2 [b][ a  ]
3 [   a   ]

So, when going from 2 to 3 open windows, window "a" and "b" switch
location for some reason. in step #2 "b" is on the left and "a" is on
the right, but when a third window is added (or removed) they swap
locations.  This is very confusing.

Is there anyway I can cause this to stop happening?  It would also be
nice if window "b" was created into the active location, but that's
more of a nitpick.

Thank you

-- 
There are 10 types of people, those who know binary and those who don't.






</pre></div><span class="HOEnZb"><font color="#888888">
</font></span><br>______________________________<wbr>_________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org">xmonad@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/xmonad</a><br>
<br></blockquote></div><br></div>