aboutsummaryrefslogtreecommitdiff
path: root/sway/workspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/workspace.c')
-rw-r--r--sway/workspace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/workspace.c b/sway/workspace.c
index 1c8cef2c..d88e2786 100644
--- a/sway/workspace.c
+++ b/sway/workspace.c
@@ -40,6 +40,7 @@ void set_mask(swayc_t *view, void *data) {
if(view->type == C_VIEW) {
wlc_view_set_mask(view->handle, *p);
+ view->visible = (*p == 2);
}
}