mirror of
https://github.com/swaywm/sway.git
synced 2025-11-10 13:29:51 -05:00
border: clear buffer on fullscreen views
This patch makes sure to clear the border buffer of fullscreen view so the border doesn't get drawn behind a fullscreen view, which would be visible if the view was transparent.
This commit is contained in:
parent
27066c6328
commit
ddd5b69b99
3 changed files with 21 additions and 10 deletions
|
|
@ -555,6 +555,7 @@ void update_geometry(swayc_t *container) {
|
|||
|
||||
container->border_geometry = wlc_geometry_zero;
|
||||
container->title_bar_geometry = wlc_geometry_zero;
|
||||
border_clear(container->border);
|
||||
} else if (container->is_floating) { // allocate border for floating window
|
||||
update_border_geometry_floating(container, &geometry);
|
||||
} else if (!container->is_floating) { // allocate border for titled window
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue