diff options
author | 2015-12-16 19:20:34 -0500 | |
---|---|---|
committer | 2015-12-16 19:20:34 -0500 | |
commit | f6da4dda4b9598eab16d4d7d77a06693fa6df9c3 (patch) | |
tree | 20ef4c5270639ac0cf972ab75a497b9e461dccf2 /sway/workspace.c | |
parent | Merge pull request #340 from mikkeloscar/seperator-separator (diff) | |
download | sway-f6da4dda4b9598eab16d4d7d77a06693fa6df9c3.tar.gz sway-f6da4dda4b9598eab16d4d7d77a06693fa6df9c3.tar.zst sway-f6da4dda4b9598eab16d4d7d77a06693fa6df9c3.zip |
Bring unmanaged windows to front on output arrange
Fixes #312
Diffstat (limited to 'sway/workspace.c')
-rw-r--r-- | sway/workspace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/workspace.c b/sway/workspace.c index f7134917..5e6ea799 100644 --- a/sway/workspace.c +++ b/sway/workspace.c | |||
@@ -247,6 +247,7 @@ bool workspace_switch(swayc_t *workspace) { | |||
247 | if (!set_focused_container(get_focused_view(workspace))) { | 247 | if (!set_focused_container(get_focused_view(workspace))) { |
248 | return false; | 248 | return false; |
249 | } | 249 | } |
250 | arrange_windows(workspace, -1, -1); | 250 | swayc_t *output = swayc_parent_by_type(workspace, C_OUTPUT); |
251 | arrange_windows(output, -1, -1); | ||
251 | return true; | 252 | return true; |
252 | } | 253 | } |