[PATCH weston v3 03/15] ivi-shell: introduction of IVI_INVALID_ID
Michael Teyfel
mteyfel at de.adit-jv.com
Tue Apr 10 09:00:49 UTC 2018
Introduction of IVI_INVALID_ID for xdg-shell applications.
Signed-off-by: Michael Teyfel <mteyfel at de.adit-jv.com>
---
ivi-shell/ivi-layout-export.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h
index 016d8b5..02bfb2c 100644
--- a/ivi-shell/ivi-layout-export.h
+++ b/ivi-shell/ivi-layout-export.h
@@ -56,6 +56,7 @@ extern "C" {
#endif /* __cplusplus */
#include <stdint.h>
+#include <limits.h>
#include "stdbool.h"
#include "compositor.h"
@@ -63,6 +64,7 @@ extern "C" {
#define IVI_SUCCEEDED (0)
#define IVI_FAILED (-1)
+#define IVI_INVALID_ID UINT_MAX
struct ivi_layout_layer;
struct ivi_layout_screen;
--
2.7.4
More information about the wayland-devel
mailing list