aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi/recipes-graphics/wayland/weston-1.6.0/ivi-shell-click-event.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ivi/recipes-graphics/wayland/weston-1.6.0/ivi-shell-click-event.patch')
-rw-r--r--meta-ivi/recipes-graphics/wayland/weston-1.6.0/ivi-shell-click-event.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/meta-ivi/recipes-graphics/wayland/weston-1.6.0/ivi-shell-click-event.patch b/meta-ivi/recipes-graphics/wayland/weston-1.6.0/ivi-shell-click-event.patch
deleted file mode 100644
index 3d26ee9..0000000
--- a/meta-ivi/recipes-graphics/wayland/weston-1.6.0/ivi-shell-click-event.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-Subject: [PATCH] Add the processing which has notice of click event from compositor
-
-Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA at xddp.denso.co.jp>
----
- ivi-shell/ivi-shell.c | 16 ++++++++++++++++
- 1 file changed, 16 insertions(+)
-
-diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c
-index 2f2e4fa..933e878 100644
---- a/ivi-shell/ivi-shell.c
-+++ b/ivi-shell/ivi-shell.c
-@@ -36,6 +36,7 @@
- #include <dlfcn.h>
- #include <limits.h>
- #include <assert.h>
-+#include <linux/input.h>
-
- #include "ivi-shell.h"
- #include "ivi-application-server-protocol.h"
-@@ -385,6 +386,21 @@
- return result;
- }
-
-+static void
-+click_to_activate_binding(struct weston_seat *seat,
-+ uint32_t time, uint32_t button,
-+ void *data)
-+{
-+ if (seat->pointer->grab != &seat->pointer->default_grab) {
-+ return;
-+ }
-+ if (seat->pointer->focus == NULL) {
-+ return;
-+ }
-+
-+ weston_surface_activate(seat->pointer->focus->surface, seat);
-+}
-+
- /*
- * Initialization of ivi-shell.
- */
-@@ -424,6 +440,8 @@
- return -1;
- }
-
-+ weston_compositor_add_button_binding(compositor, BTN_LEFT, 0, click_to_activate_binding, shell);
-+
- free(setting.ivi_module);
- return 0;
- }
-1.7.11.7
-
-BR,
-Nobuhiko Tanibata