diff options
author | taiyu <taiyu.len@gmail.com> | 2015-08-18 19:15:10 -0700 |
---|---|---|
committer | taiyu <taiyu.len@gmail.com> | 2015-08-18 19:15:10 -0700 |
commit | 2f40459de49faffa213448677954155cd513d15d (patch) | |
tree | ad562255d944b92977dbdde465cdcdf7a3eebde8 | |
parent | header update (diff) | |
download | sway-2f40459de49faffa213448677954155cd513d15d.tar.gz sway-2f40459de49faffa213448677954155cd513d15d.tar.zst sway-2f40459de49faffa213448677954155cd513d15d.zip |
fixed focus on fullscreen view destroy
-rw-r--r-- | sway/focus.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/focus.c b/sway/focus.c index 628316dd..1f17dfc9 100644 --- a/sway/focus.c +++ b/sway/focus.c | |||
@@ -142,9 +142,6 @@ void set_focused_container(swayc_t *c) { | |||
142 | // Find previous focused view, and the new focused view, if they are the same return | 142 | // Find previous focused view, and the new focused view, if they are the same return |
143 | swayc_t *focused = get_focused_view(&root_container); | 143 | swayc_t *focused = get_focused_view(&root_container); |
144 | swayc_t *workspace = active_workspace; | 144 | swayc_t *workspace = active_workspace; |
145 | if (focused == get_focused_view(c)) { | ||
146 | return; | ||
147 | } | ||
148 | 145 | ||
149 | // update container focus from here to root, making necessary changes along | 146 | // update container focus from here to root, making necessary changes along |
150 | // the way | 147 | // the way |