mirror of
https://github.com/swaywm/sway.git
synced 2026-06-15 14:33:54 -04:00
Merge 1a954e290d into 3cb86e4a2a
This commit is contained in:
commit
6d4c0882a6
1 changed files with 6 additions and 0 deletions
|
|
@ -481,6 +481,12 @@ void container_begin_destroy(struct sway_container *con) {
|
||||||
if (con->pending.fullscreen_mode == FULLSCREEN_WORKSPACE && con->pending.workspace) {
|
if (con->pending.fullscreen_mode == FULLSCREEN_WORKSPACE && con->pending.workspace) {
|
||||||
con->pending.workspace->fullscreen = NULL;
|
con->pending.workspace->fullscreen = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If the container was the one stored in the overview's fullscreen memory, clear it.
|
||||||
|
if (con->pending.workspace && con->pending.workspace->layout.fullscreen == con) {
|
||||||
|
con->pending.workspace->layout.fullscreen = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (con->scratchpad && con->pending.fullscreen_mode == FULLSCREEN_GLOBAL) {
|
if (con->scratchpad && con->pending.fullscreen_mode == FULLSCREEN_GLOBAL) {
|
||||||
container_fullscreen_disable(con);
|
container_fullscreen_disable(con);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue