diff options
author | 2019-03-11 22:21:38 -0400 | |
---|---|---|
committer | 2019-03-11 21:31:47 -0600 | |
commit | 1bab5a95531826fa54097bed48f8cc05d4233a9f (patch) | |
tree | 54b6492e55a28ccacfc45fa2be53145234e7ba3a /ISSUE_TEMPLATE.md | |
parent | Repair swaynag crash reading message from stdin (diff) | |
download | sway-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 'ISSUE_TEMPLATE.md')
0 files changed, 0 insertions, 0 deletions