Merge pull request #2923 from RyanDwyer/fix-move-to-fullscreen-crash

Fix crash when moving a container to a fullscreen workspace
master
Drew DeVault 6 years ago committed by GitHub
commit ef532154c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -108,7 +108,7 @@ static void workspace_focus_fullscreen(struct sway_workspace *workspace) {
if (focus_ws == workspace) { if (focus_ws == workspace) {
struct sway_node *new_focus = struct sway_node *new_focus =
seat_get_focus_inactive(seat, &workspace->fullscreen->node); seat_get_focus_inactive(seat, &workspace->fullscreen->node);
seat_set_focus(seat, new_focus); seat_set_raw_focus(seat, new_focus);
} }
} }
} }

Loading…
Cancel
Save