aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-03-29 12:15:17 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-03-31 17:49:05 -0600
commit0676ace97fdd0054af6b0a4950e219ebd0a18de4 (patch)
treeda38135b541ccf96f93c59f6a8d46c873f148b93 /include/sway/tree
parentFix xwayland configure request scratchpad crash (diff)
downloadsway-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 'include/sway/tree')
0 files changed, 0 insertions, 0 deletions