9826223a1bd7a3629986a1e9bcc6d57d19d905f2
So far nothing prevented a client for registering a surface as one type and then as another type. With some special types, this would lead to corrupted wl_lists. Add a function, that either resets the surface type or posts an error to the client. In case of an error, the set type operation must be aborted. Change the type name SHELL_SURFACE_NORMAL to SHELL_SURFACE_NONE, as there is nothing normal in the "none" type which just means uninitialised. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Wayland Demos This repository contains a few demos application for the Wayland project. There's a sample compositor that can run on KMS, under X11 or under another Wayland compositor and there's a handful of simple clients that demonstrate various aspects of Wayland:
Description
Languages
C
98%
Meson
1.4%
Shell
0.3%
GLSL
0.2%