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

Fix crash when moving a container to a fullscreen workspace
This commit is contained in:
Drew DeVault 2018-10-22 14:53:48 +02:00 committed by GitHub
commit ef532154c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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