We might need to retrieve the seat in from different places to make it
available.
Bug-AGL: SPEC-4413
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I76343fe6039ae088356ddc33364e917d67dd414b
#include "ivi-compositor.h"
#include "shared/helpers.h"
-struct ivi_shell_seat {
- struct weston_seat *seat;
- struct weston_surface *focused_surface;
-
- bool hide_cursor;
- bool new_caps_sent;
-
- struct wl_listener seat_destroy_listener;
- struct wl_listener caps_changed_listener;
- struct wl_listener keyboard_focus_listener;
- struct wl_listener pointer_focus_listener;
-};
-
static struct ivi_surface *
get_ivi_shell_surface(struct weston_surface *surface)
{
struct wl_signal signal_advertise_app;
};
+struct ivi_shell_seat {
+ struct weston_seat *seat;
+ struct weston_surface *focused_surface;
+
+ bool hide_cursor;
+ bool new_caps_sent;
+
+ struct wl_listener seat_destroy_listener;
+ struct wl_listener caps_changed_listener;
+ struct wl_listener keyboard_focus_listener;
+ struct wl_listener pointer_focus_listener;
+};
+
struct ivi_shell_client {
struct wl_list link;
char *command;