Kanzi 3.9.14
wayland_common.hpp File Reference
#include <wayland-client.h>
#include <wayland-egl-core.h>

Macros

#define KZ_WAYLAND_COMPATIBILITY_MODE
 Macro defining a compatibility mode, in which Kanzi binds to version 1 for all interfaces.
 
#define KZ_WAYLAND_VERSION_CHECK(major, minor, micro)
 Checks if Wayland version is equal or greater than specified.
 

Macro Definition Documentation

◆ KZ_WAYLAND_VERSION_CHECK

#define KZ_WAYLAND_VERSION_CHECK ( major,
minor,
micro )

Checks if Wayland version is equal or greater than specified.

Parameters
majorMajor Wayland version.
minorMinor Wayland version.
microMicro Wayland version.
Returns
On success, true, otherwise false.

◆ KZ_WAYLAND_COMPATIBILITY_MODE

#define KZ_WAYLAND_COMPATIBILITY_MODE

Macro defining a compatibility mode, in which Kanzi binds to version 1 for all interfaces.

It's very difficult to support any interface versions, other than version 1 prior to Wayland 1.12.0.

Returns
If Kanzi can only use interface version 1, true, otherwise false.