commit bee2421

shrub  ·  2026-08-21 12:03:42 +0000 UTC
parent e6d23e7
mark surface as fully damaged

we should be damaging the entire surface that we changed. some compositors are forgiving about this, but it fixes issues on ones that are more damage-driven

Reviewed-on: https://codeberg.org/sewn/wawa/pulls/9
1 files changed,  +1, -0
M wawa.c
M wawa.c
+1, -0
1@@ -275,6 +275,7 @@ layer_surface_handle_configure(void *data, struct zwlr_layer_surface_v1 *layer_s
2 
3 	buffer = output_load_image(output);
4 	wl_surface_attach(output->surface, buffer, 0, 0);
5+	wl_surface_damage(output->surface, 0, 0, output->width, output->height);
6 	wl_surface_commit(output->surface);
7 	wl_buffer_destroy(buffer);
8