summaryrefslogtreecommitdiffstats
path: root/src/ivi-compositor.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-05-31 14:44:49 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-06-10 21:20:46 +0000
commit394b5da767661260043080dc025d0a71998851f8 (patch)
tree516996900f9c0cfc78fc9eb0fb175e0cb467d838 /src/ivi-compositor.h
parentcac00851d454fcfe6b4e9f3353cfa4007f31c21e (diff)
shell: Extract some common functions
For instance this exports retreiving a ivi_seat from weston_seat, and they are useful in other parts as well. Bug-AGL: SPEC-4413 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I838823570792761dfb5ac4beea635e843dd5cd22
Diffstat (limited to 'src/ivi-compositor.h')
-rw-r--r--src/ivi-compositor.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h
index fdf2bcb..6dbab99 100644
--- a/src/ivi-compositor.h
+++ b/src/ivi-compositor.h
@@ -453,4 +453,13 @@ ivi_compositor_destroy_pending_surfaces(struct ivi_compositor *ivi);
void
ivi_shell_finalize(struct ivi_compositor *ivi);
+struct ivi_surface *
+get_ivi_shell_surface(struct weston_surface *surface);
+
+struct ivi_shell_seat *
+get_ivi_shell_seat(struct weston_seat *seat);
+
+struct weston_seat *
+get_ivi_shell_weston_first_seat(struct ivi_compositor *ivi);
+
#endif