From 3f475f5009974a5dcdfe12f578208a4fd92c84ba Mon Sep 17 00:00:00 2001 From: Luminarys Date: Mon, 17 Aug 2015 10:22:00 -0500 Subject: Minor fix to do proper floating refocuses --- sway/commands.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sway/commands.c b/sway/commands.c index 8a81cd76..5035316e 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -231,6 +231,8 @@ static bool cmd_floating(struct sway_config *config, int argc, char **argv) { else { add_sibling(focused, view); } + // Refocus on the view once its been put back into the layout + focus_view(view); arrange_windows(active_workspace, -1, -1); return true; } -- cgit v1.2.3-54-g00ecf