diff options
author | Luminarys <kizunanohikari@gmail.com> | 2015-08-17 10:22:00 -0500 |
---|---|---|
committer | Luminarys <kizunanohikari@gmail.com> | 2015-08-17 10:22:00 -0500 |
commit | 3f475f5009974a5dcdfe12f578208a4fd92c84ba (patch) | |
tree | 13720d64f9c8dc220ce32f9cb3188344dffc8d2e | |
parent | Fixes to floating and umanaged views (diff) | |
download | sway-3f475f5009974a5dcdfe12f578208a4fd92c84ba.tar.gz sway-3f475f5009974a5dcdfe12f578208a4fd92c84ba.tar.zst sway-3f475f5009974a5dcdfe12f578208a4fd92c84ba.zip |
Minor fix to do proper floating refocuses
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { | |||
231 | else { | 231 | else { |
232 | add_sibling(focused, view); | 232 | add_sibling(focused, view); |
233 | } | 233 | } |
234 | // Refocus on the view once its been put back into the layout | ||
235 | focus_view(view); | ||
234 | arrange_windows(active_workspace, -1, -1); | 236 | arrange_windows(active_workspace, -1, -1); |
235 | return true; | 237 | return true; |
236 | } | 238 | } |