aboutsummaryrefslogtreecommitdiffstats
path: root/config.in
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-03-11 22:21:38 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-03-11 21:31:47 -0600
commit1bab5a95531826fa54097bed48f8cc05d4233a9f (patch)
tree54b6492e55a28ccacfc45fa2be53145234e7ba3a /config.in
parentRepair swaynag crash reading message from stdin (diff)
downloadsway-1bab5a95531826fa54097bed48f8cc05d4233a9f.tar.gz
sway-1bab5a95531826fa54097bed48f8cc05d4233a9f.tar.zst
sway-1bab5a95531826fa54097bed48f8cc05d4233a9f.zip
get_deco_rect: fix floaters on tabbed/stacked ws
This fixes the decoration rects for floating containers on a workspace that is either tabbed or stacked. Without this, the floater would incorrectly try to calculate where it's tab or stack decorations were on the workspace. This would cause a SIGFPE (due to a divide-by-zero) when the floater was on a tabbed workspace without any tiling children. Furthermore, the floater does not care what the workspace's layout is and should just use the location relative to the workspace. This should have no effect on children of a floating container.
Diffstat (limited to 'config.in')
0 files changed, 0 insertions, 0 deletions