What does surface represents in Wayland
I’ve extensively read the wayland documentation and resources on the topic but still cannot wrap my head around this question.
Is Wayland’s wl_surface represent a window or the display surface itself?
It would make sense if wl_surface represents a display as we don’t provide any window-specific information to the create_surface request, but then it would be called get_surface, wouldn’t it?
I really cannot figure that out on my own.
No shell found in Wayland registries
I’m trying to create a simple window using Wayland and EGL, and I’ve found that I need xdg_shell
or wl_shell
to do it. But in my system, Wayland can find registry wl_compositor
or wl_shm
, but not xdg_shell
or wl_shell
. Am I missing something in my system?