summaryrefslogtreecommitdiff
path: root/ivi-layermanagement-examples/multi-touch-viewer/include/window.h
diff options
context:
space:
mode:
authorEugen Friedrich <efriedrich@de.adit-jv.com>2023-01-07 13:40:19 +0100
committerEugen Friedrich <efriedrich@de.adit-jv.com>2023-01-07 13:40:19 +0100
commiteaf7f8aada22ce8bf9e9a2b49bf6a232370aad23 (patch)
tree52a5d3b4d136b5021d7b21d524f1e79c955c2a3b /ivi-layermanagement-examples/multi-touch-viewer/include/window.h
parent936705f9df8117e428d703e0c57f5d6e6cb5133b (diff)
parent8fbf58778215df0c8286c14e0fe88f59c95f9ae4 (diff)
downloadwayland-ivi-extension-eaf7f8aada22ce8bf9e9a2b49bf6a232370aad23.tar.gz
Merge remote-tracking branch 'upstream/pull/139'
* upstream/pull/139 multi-touch-viewer: add the type of shell selection input Reviewed-by: Eugen Friedrich <efriedrich@de.adit-jv.com> Reviewed-by: Harsha M M <harsha.manjulamallikarjun@in.bosch.com> Tested-by: Doan Ngoc Au <au.doanngoc@vn.bosch.com>
Diffstat (limited to 'ivi-layermanagement-examples/multi-touch-viewer/include/window.h')
-rw-r--r--ivi-layermanagement-examples/multi-touch-viewer/include/window.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ivi-layermanagement-examples/multi-touch-viewer/include/window.h b/ivi-layermanagement-examples/multi-touch-viewer/include/window.h
index 40e2925..d81dda6 100644
--- a/ivi-layermanagement-examples/multi-touch-viewer/include/window.h
+++ b/ivi-layermanagement-examples/multi-touch-viewer/include/window.h
@@ -46,6 +46,12 @@ struct Task
struct wl_list link;
};
+enum TypeOfShell
+{
+ WL_SHELL = 1,
+ IVI_SHELL = 2
+};
+
struct WaylandDisplay
{
struct Task display_task;
@@ -57,6 +63,7 @@ struct WaylandDisplay
EGLDisplay egldisplay;
EGLConfig eglconfig;
EGLContext eglcontext;
+ enum TypeOfShell shell_type;
int running;
int epoll_fd;
@@ -102,7 +109,7 @@ struct WaylandEglWindow
};
struct WaylandDisplay*
-CreateDisplay(int argc, char **argv);
+CreateDisplay(int argc, char **argv, enum TypeOfShell shell_type);
void
DestroyDisplay(struct WaylandDisplay *p_display);