aboutsummaryrefslogtreecommitdiff
path: root/sway/focus.c
diff options
context:
space:
mode:
authortaiyu <taiyu.len@gmail.com>2015-08-22 18:25:05 -0700
committertaiyu <taiyu.len@gmail.com>2015-08-22 18:25:05 -0700
commit36cd180f02cf032fa1d041540fff236061c3df5a (patch)
tree20c4c2a290a17aac05472fafc2eab0f1724bf298 /sway/focus.c
parent1fd5962aeb5bab722a26182ad39fddecf43c6f95 (diff)
fixed vanishing floating view
Diffstat (limited to 'sway/focus.c')
-rw-r--r--sway/focus.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/focus.c b/sway/focus.c
index a3e5e77a..e369de30 100644
--- a/sway/focus.c
+++ b/sway/focus.c
@@ -34,7 +34,6 @@ static void update_focus(swayc_t *c) {
mask = 2;
container_map(c, set_view_visibility, &mask);
wlc_output_set_mask(parent->handle, 2);
- c->parent->focused = c;
destroy_workspace(ws);
}
break;