summaryrefslogtreecommitdiffstats
path: root/src/ivi-compositor.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-05-31 15:40:43 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-06-10 21:20:46 +0000
commit9cccfe829aab45fd2ab8475127d62ff22c5fedee (patch)
treeaa7a1ecf6f7f5ec807a9723dd3803215674306a6 /src/ivi-compositor.h
parent394b5da767661260043080dc025d0a71998851f8 (diff)
layout: Add a way common way activate views
We install a common function which is being used to de-couple keyboard presence from input and xdg-shell activation. We also also use it at surface removal/destruction. Bug-AGL: SPEC-4413 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I2686e5a4aab3e95fbeaa4100faa2dc0051881f24
Diffstat (limited to 'src/ivi-compositor.h')
-rw-r--r--src/ivi-compositor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h
index 6dbab99..5137d19 100644
--- a/src/ivi-compositor.h
+++ b/src/ivi-compositor.h
@@ -462,4 +462,9 @@ get_ivi_shell_seat(struct weston_seat *seat);
struct weston_seat *
get_ivi_shell_weston_first_seat(struct ivi_compositor *ivi);
+void
+ivi_shell_activate_surface(struct ivi_surface *ivi_surf,
+ struct ivi_shell_seat *ivi_seat,
+ uint32_t flags);
+
#endif