aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorLibravatar Pedro CĂ´rte-Real <pedro@pedrocr.net>2019-06-23 18:28:26 +0100
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-07-14 11:13:55 -0400
commit1312b5bb9faf7ab50c3024fc4f05b58481bf318c (patch)
tree27a32291c54fbf3e84539de98bfe67bd7ee3ea29 /sway/tree/container.c
parentcmd_split: fix toggle split for non-split layouts (diff)
downloadsway-1312b5bb9faf7ab50c3024fc4f05b58481bf318c.tar.gz
sway-1312b5bb9faf7ab50c3024fc4f05b58481bf318c.tar.zst
sway-1312b5bb9faf7ab50c3024fc4f05b58481bf318c.zip
Layout correctly with several new windows
If there is more than one new window layout correctly by calculating the default size of the new windows using the information of how many of them there are in total. This helps with issue #3547 but doesn't fix it in all situations. Things now work correctly if the first layout of new windows happens after leaving fullscreen. But if for some reason an arrange_container() gets called while we are fullscreen the windows will still be incorrectly sized after saved_width/saved_height get used to restore the first window's size before going fullscreen.
Diffstat (limited to 'sway/tree/container.c')
0 files changed, 0 insertions, 0 deletions