mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
Merge pull request #2544 from RyanDwyer/fix-deferred-cmd-crash
Fix crash when running deferred commands
This commit is contained in:
commit
80270ba086
1 changed files with 1 additions and 1 deletions
|
@ -635,7 +635,7 @@ void seat_set_focus_warp(struct sway_seat *seat,
|
|||
|
||||
// find new output's old workspace, which might have to be removed if empty
|
||||
struct sway_container *new_output_last_ws = NULL;
|
||||
if (last_output != new_output) {
|
||||
if (new_output && last_output != new_output) {
|
||||
new_output_last_ws = seat_get_active_child(seat, new_output);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue