diff options
Diffstat (limited to 'sway/focus.c')
-rw-r--r-- | sway/focus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/focus.c b/sway/focus.c index 823eefa2..1086f1a8 100644 --- a/sway/focus.c +++ b/sway/focus.c | |||
@@ -28,11 +28,11 @@ static void update_focus(swayc_t *c) { | |||
28 | if (parent->focused) { | 28 | if (parent->focused) { |
29 | swayc_t *ws = parent->focused; | 29 | swayc_t *ws = parent->focused; |
30 | // hide visibility of old workspace | 30 | // hide visibility of old workspace |
31 | uint32_t mask = INVISIBLE; | 31 | bool visible = false; |
32 | container_map(ws, set_view_visibility, &mask); | 32 | container_map(ws, set_view_visibility, &visible); |
33 | // set visibility of new workspace | 33 | // set visibility of new workspace |
34 | mask = VISIBLE; | 34 | visible = true; |
35 | container_map(c, set_view_visibility, &mask); | 35 | container_map(c, set_view_visibility, &visible); |
36 | destroy_workspace(ws); | 36 | destroy_workspace(ws); |
37 | } | 37 | } |
38 | break; | 38 | break; |