Wayland: no shadow for surface with EGL
When I create surfaces with these roles, the result has a shadow behind it (just like the windows made with GTK3):
wl_surface <- xdg_surcace <- xdg_toplevel <- attach buffer
If I create surfaces with the wl-egl-surface role, the result doesn't have a shadow behind it:
wl_surface <- xdg_surcace <- xdg_toplevel <- attach buffer
^
`--- wl_egl_surface
Using weston-simple-shm
and weston-simple-egl
gives the same result: shadow when there's only buffer involved, and no shadow when there's EGL involved.
On Weston, I couldn't test using XDG protocols (because AFAIK seems to not support it yet), but I could test with weston-simple-shm
and weston-simple-egl
. In both, no shadow is created. Not the desired behavior here, but there's a consistency.
I believe we want shadows to appear on mutter, right?
Edited by Felipe Ferreira da Silva