aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authortaiyu <taiyu.len@gmail.com>2015-08-18 19:15:10 -0700
committertaiyu <taiyu.len@gmail.com>2015-08-18 19:15:10 -0700
commit2f40459de49faffa213448677954155cd513d15d (patch)
treead562255d944b92977dbdde465cdcdf7a3eebde8 /sway
parent3c430688a8ffd35dc88ff23c4cb7a066a89fbd3f (diff)
fixed focus on fullscreen view destroy
Diffstat (limited to 'sway')
-rw-r--r--sway/focus.c3
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) {
// Find previous focused view, and the new focused view, if they are the same return
swayc_t *focused = get_focused_view(&root_container);
swayc_t *workspace = active_workspace;
- if (focused == get_focused_view(c)) {
- return;
- }
// update container focus from here to root, making necessary changes along
// the way