aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--swaybar/render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/swaybar/render.c b/swaybar/render.c
index 6a983e97..a296112a 100644
--- a/swaybar/render.c
+++ b/swaybar/render.c
@@ -841,6 +841,8 @@ void render_frame(struct swaybar_output *output) {
wl_region_add(region, 0, 0, INT32_MAX, INT32_MAX);
wl_surface_set_opaque_region(output->surface, region);
wl_region_destroy(region);
+ } else {
+ wl_surface_set_opaque_region(output->surface, NULL);
}
struct wl_callback *frame_callback = wl_surface_frame(output->surface);