mirror of
https://github.com/swaywm/sway.git
synced 2024-11-23 00:11:28 +00:00
Merge pull request #2306 from RyanDwyer/move-workspace-crash
Fix crash when moving workspace to output
This commit is contained in:
commit
dfb45ded1c
|
@ -232,7 +232,9 @@ void container_move_to(struct sway_container *container,
|
||||||
}
|
}
|
||||||
if (new_workspace != old_workspace) {
|
if (new_workspace != old_workspace) {
|
||||||
workspace_detect_urgent(new_workspace);
|
workspace_detect_urgent(new_workspace);
|
||||||
workspace_detect_urgent(old_workspace);
|
if (old_workspace) {
|
||||||
|
workspace_detect_urgent(old_workspace);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue