mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Merge pull request #2306 from RyanDwyer/move-workspace-crash
Fix crash when moving workspace to output
This commit is contained in:
commit
dfb45ded1c
1 changed files with 3 additions and 1 deletions
|
|
@ -232,9 +232,11 @@ void container_move_to(struct sway_container *container,
|
|||
}
|
||||
if (new_workspace != old_workspace) {
|
||||
workspace_detect_urgent(new_workspace);
|
||||
if (old_workspace) {
|
||||
workspace_detect_urgent(old_workspace);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static bool sway_dir_to_wlr(enum movement_direction dir,
|
||||
enum wlr_direction *out) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue