diff options
author | 2019-03-29 12:15:17 -0400 | |
---|---|---|
committer | 2019-03-31 17:49:05 -0600 | |
commit | 0676ace97fdd0054af6b0a4950e219ebd0a18de4 (patch) | |
tree | da38135b541ccf96f93c59f6a8d46c873f148b93 /README.pt.md | |
parent | Fix xwayland configure request scratchpad crash (diff) | |
download | sway-0676ace97fdd0054af6b0a4950e219ebd0a18de4.tar.gz sway-0676ace97fdd0054af6b0a4950e219ebd0a18de4.tar.zst sway-0676ace97fdd0054af6b0a4950e219ebd0a18de4.zip |
floating: fix size of non-view containers
This fixes the sizing of floating non-view containers. On master, the
floater will get set to the maximum width and height, which by default
is the entire output layout. When setting a non-view container to
floating, this will set a sane default size of 50% of the workspace
width and 75% of the workspace height, or whatever the closest is that
the minimum and maximum floating width/height values allow for. On all
future calls to `floating_natural_resize`, the width and height will be
kept unless they need to be changed to respect the min/max floating
width/height values.
Diffstat (limited to 'README.pt.md')
0 files changed, 0 insertions, 0 deletions