diff options
author | Drew DeVault <[email protected]> | 2015-12-16 19:20:34 -0500 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2015-12-16 19:20:34 -0500 |
commit | f6da4dda4b9598eab16d4d7d77a06693fa6df9c3 (patch) | |
tree | 20ef4c5270639ac0cf972ab75a497b9e461dccf2 /sway/workspace.c | |
parent | 2231acb790d6c07324b70af78510e064b2cc2720 (diff) |
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) { if (!set_focused_container(get_focused_view(workspace))) { return false; } - arrange_windows(workspace, -1, -1); + swayc_t *output = swayc_parent_by_type(workspace, C_OUTPUT); + arrange_windows(output, -1, -1); return true; } |