diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-08-04 10:26:55 +1000 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-08-04 10:26:55 +1000 |
| commit | 84eeb090bf5f68fd1eb6702f4157ed2d98a94524 (patch) | |
| tree | 27a696a801539c946ac597e20b920c4b29697204 | |
| parent | fdb0a40db77a84f283d76b40280d9a9a3d8ff0a0 (diff) | |
| parent | ea6bf6a6ed5bf293295795d7d0bae91d6027fa0d (diff) | |
Merge pull request #2419 from RedSoxFan/fix-2416
Check correct ws for sticky and fix floating iter
| -rw-r--r-- | sway/tree/workspace.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c index 588e2aae..687d9c95 100644 --- a/sway/tree/workspace.c +++ b/sway/tree/workspace.c @@ -412,6 +412,11 @@ bool workspace_switch(struct sway_container *workspace) { has_sticky = true; container_remove_child(floater); container_add_child(workspace->sway_workspace->floating, floater); + if (floater == focus) { + seat_set_focus(seat, NULL); + seat_set_focus(seat, floater); + } + --i; } } |
