commit ffc8033
sewn
·
2026-10-27 21:37:30 +0000 UTC
parent 5adf94f
set surface as opaque
1 files changed,
+7,
-0
M
wawa.c
M
wawa.c
+7,
-0
1@@ -342,6 +342,13 @@ output_setup_callback(void *data, struct wl_callback *callback,
2
3 /* fallthrough clicks to desktop or other surfaces (eg. root menu) */
4 wl_surface_set_input_region(output->surface, empty);
5+ /*
6+ * the image must be scanned or probed prior to figuring out
7+ * transparency and it is such a niche edge case. if a specific
8+ * color with alpha is chosen however, this call seems to change
9+ * nothing for modern compositors as the alpha is rendered anyways.
10+ */
11+ wl_surface_set_opaque_region(output->surface, empty);
12 wl_region_destroy(empty);
13
14 if (output_manager) {