#include <wayland-client.h>
#include <wayland-egl-core.h>
#define KZ_WAYLAND_VERSION_CHECK |
( |
|
major, |
|
|
|
minor, |
|
|
|
micro |
|
) |
| |
Checks if Wayland version is equal or greater than specified.
- Parameters
-
major | Major Wayland version. |
minor | Minor Wayland version. |
micro | Micro Wayland version. |
- Returns
- On success, true, otherwise false.
#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.