1
0
Fork 0
mirror of https://github.com/NickHu/sway synced 2025-01-29 08:34:13 +01:00

Fix crash when moving workspace to output

This commit is contained in:
Ryan Dwyer 2018-07-19 16:52:02 +10:00
parent 4931d0ddc5
commit dad3a8deee

View file

@ -232,7 +232,9 @@ void container_move_to(struct sway_container *container,
}
if (new_workspace != old_workspace) {
workspace_detect_urgent(new_workspace);
workspace_detect_urgent(old_workspace);
if (old_workspace) {
workspace_detect_urgent(old_workspace);
}
}
}