aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands')
-rw-r--r--sway/commands/focus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands/focus.c b/sway/commands/focus.c
index 33d01405..14e90955 100644
--- a/sway/commands/focus.c
+++ b/sway/commands/focus.c
@@ -317,6 +317,7 @@ struct cmd_results *cmd_focus(int argc, char **argv) {
}
seat_set_focus_container(seat, container);
seat_consider_warp_to_focus(seat);
+ container_raise_floating(container);
return cmd_results_new(CMD_SUCCESS, NULL);
}