summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-10-22 14:53:48 +0200
committerLibravatar GitHub <noreply@github.com>2018-10-22 14:53:48 +0200
commitef532154c342ebddc6bc85086521790e265803bc (patch)
tree4619bd68b7708892244acdb86038b69393b20aa0
parentMerge pull request #2922 from RedSoxFan/fix-2905 (diff)
parentFix crash when moving a container to a fullscreen workspace (diff)
downloadsway-ef532154c342ebddc6bc85086521790e265803bc.tar.gz
sway-ef532154c342ebddc6bc85086521790e265803bc.tar.zst
sway-ef532154c342ebddc6bc85086521790e265803bc.zip
Merge pull request #2923 from RyanDwyer/fix-move-to-fullscreen-crash
Fix crash when moving a container to a fullscreen workspace
-rw-r--r--sway/commands/move.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/move.c b/sway/commands/move.c
index a5b7f661..e0a958bf 100644
--- a/sway/commands/move.c
+++ b/sway/commands/move.c
@@ -108,7 +108,7 @@ static void workspace_focus_fullscreen(struct sway_workspace *workspace) {
108 if (focus_ws == workspace) { 108 if (focus_ws == workspace) {
109 struct sway_node *new_focus = 109 struct sway_node *new_focus =
110 seat_get_focus_inactive(seat, &workspace->fullscreen->node); 110 seat_get_focus_inactive(seat, &workspace->fullscreen->node);
111 seat_set_focus(seat, new_focus); 111 seat_set_raw_focus(seat, new_focus);
112 } 112 }
113 } 113 }
114} 114}