[Wayland] gtk_widget_shape_combine_region makes outside pixels black instead of transparent on Wayland
Steps to reproduce
- custom-main.c
-
export GDK_BACKEND=wayland
and run the snippet - click set region button and see that the pixels outside the shape_region is black instead of transparent
- uncomment line 18 and run snippet again to see that the pixels are transparent again
Current behavior
On Wayland: pixels outside the shape_region is black instead of transparent.
Setting the window to opacity = 0.99 makes the outside region transparent again.
In addition, the window seems to require a resize to see the result on Wayland. See line 16 in snippet.
Expected outcome
Expected outcome on X11: pixels outside shape_region should be transparent when opacity is 1
Version information
GTK3.22 on Fedora 28.