diff options
author | Pedro CĂ´rte-Real <pedro@pedrocr.net> | 2019-06-23 18:28:26 +0100 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-07-14 11:13:55 -0400 |
commit | 1312b5bb9faf7ab50c3024fc4f05b58481bf318c (patch) | |
tree | 27a32291c54fbf3e84539de98bfe67bd7ee3ea29 /sway/commands/scratchpad.c | |
parent | c312a10cc7ace29fde9105204787c9853745a57d (diff) |
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/commands/scratchpad.c')
0 files changed, 0 insertions, 0 deletions