diff options
author | 2021-07-06 08:29:45 -0500 | |
---|---|---|
committer | 2021-07-06 22:54:24 +0200 | |
commit | c41dc335902f1e24a20c521c22591bf26ccaf40c (patch) | |
tree | 3115d6f2f2f61d7ddda9bfcd77156b801d417f64 /README.md | |
parent | tree/container: fix indentation (diff) | |
download | sway-c41dc335902f1e24a20c521c22591bf26ccaf40c.tar.gz sway-c41dc335902f1e24a20c521c22591bf26ccaf40c.tar.zst sway-c41dc335902f1e24a20c521c22591bf26ccaf40c.zip |
container: ignore borders in fullscreen windows
When setting the geometry from content for floating windows, the
coordinates for borders are normally taken into account. However in the
case of a floating fullscreen window, we should not be doing this. Since
the content of the container takes the space of the entire output, this
causes the calculated borders to neccesarily be outside of the output.
This later causes a problem when sending surface entrance events since
in a multi-monitor setup, the border coordinates will overlap with
another output despite the surface not actually being on that output at
all. The fix is to just ignore border coordinates for a floating
fullscreen container since fullscreen, of course, does not actually have
any borders. Fixes #6080.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions