diff options
Diffstat (limited to 'sway/handlers.c')
-rw-r--r-- | sway/handlers.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 3a4e31ae..af68b765 100644 --- a/sway/handlers.c +++ b/sway/handlers.c | |||
@@ -90,6 +90,9 @@ swayc_t *container_under_pointer(void) { | |||
90 | static bool handle_output_created(wlc_handle output) { | 90 | static bool handle_output_created(wlc_handle output) { |
91 | swayc_t *op = new_output(output); | 91 | swayc_t *op = new_output(output); |
92 | 92 | ||
93 | // Visibility mask to be able to make view invisible | ||
94 | wlc_output_set_mask(output, VISIBLE); | ||
95 | |||
93 | if (!op) { | 96 | if (!op) { |
94 | return false; | 97 | return false; |
95 | } | 98 | } |