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

Macros

#define KZ_WAYLAND_COMPATIBILITY_MODE
 Returns true if we can use interface versions > 1.
 
#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

Returns true if we can use interface versions > 1.

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

Returns
If we can use interface versions > 1, true, otherwise false.