mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 19:31:29 +00:00
Fix crash when moving workspace to output
This commit is contained in:
parent
4931d0ddc5
commit
dad3a8deee
|
@ -232,9 +232,11 @@ 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);
|
||||||
|
if (old_workspace) {
|
||||||
workspace_detect_urgent(old_workspace);
|
workspace_detect_urgent(old_workspace);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static bool sway_dir_to_wlr(enum movement_direction dir,
|
static bool sway_dir_to_wlr(enum movement_direction dir,
|
||||||
enum wlr_direction *out) {
|
enum wlr_direction *out) {
|
||||||
|
|
Loading…
Reference in a new issue