diff options
author | 2016-01-13 18:36:55 +0000 | |
---|---|---|
committer | 2016-01-18 22:28:01 +0000 | |
commit | 59fb43fa95a212af20009247332b4c5c34302b1f (patch) | |
tree | 056f68cd25c2feedd4dbce5b251a82acf5a70fec /meta-agl/recipes-graphics/wayland/weston/0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch | |
parent | 91f7784cfd26ca7d26e1006d78c067e74c7dc92a (diff) |
Migrate IVI-Shell backport to Weston 1.8.0 (Yocto 2.0)
(NOTICE : this is the last patch necessary to fully migrate
to Yocto 2.0)
As newer Poky "Jethro" is now providing Weston 1.8.0, adapt
IVI-Shell 1.9.0 backport to it.
Remove unnecessary patches (touchscreen support for Qt,
panel toggle) which are now upstreamed.
Make the systemd service recipe name more generic.
Change-Id: Icaad3f40b29617bcb33ac235bbe3c65f7f4bdbd7
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
Diffstat (limited to 'meta-agl/recipes-graphics/wayland/weston/0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch')
-rw-r--r-- | meta-agl/recipes-graphics/wayland/weston/0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/meta-agl/recipes-graphics/wayland/weston/0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch b/meta-agl/recipes-graphics/wayland/weston/0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch deleted file mode 100644 index 1bb9253d4..000000000 --- a/meta-agl/recipes-graphics/wayland/weston/0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch +++ /dev/null @@ -1,65 +0,0 @@ -From c4633014fff25d32926129a8b028124c6338bb2b Mon Sep 17 00:00:00 2001 -From: Louai Al-Khanji <louai.al-khanji@theqtcompany.com> -Date: Wed, 19 Aug 2015 09:04:46 +0300 -Subject: [PATCH 1/1] Adapt changes made in libinput/src/evdev.c for touch - frame emission. - ---- - src/evdev.c | 27 +++++++++++++++++++++++++++ - 1 file changed, 27 insertions(+) - -diff --git a/src/evdev.c b/src/evdev.c -index 888dfbd..daa5d72 100644 ---- a/src/evdev.c -+++ b/src/evdev.c -@@ -359,12 +359,36 @@ evdev_process_absolute(struct evdev_device *device, - } - } - -+static inline int -+evdev_need_touch_frame(struct evdev_device *device) -+{ -+ if (!(device->seat_caps & EVDEV_SEAT_TOUCH)) -+ return 0; -+ -+ switch (device->pending_event) { -+ case EVDEV_NONE: -+ case EVDEV_RELATIVE_MOTION: -+ break; -+ case EVDEV_ABSOLUTE_MT_DOWN: -+ case EVDEV_ABSOLUTE_MT_MOTION: -+ case EVDEV_ABSOLUTE_MT_UP: -+ case EVDEV_ABSOLUTE_TOUCH_DOWN: -+ case EVDEV_ABSOLUTE_TOUCH_UP: -+ case EVDEV_ABSOLUTE_MOTION: -+ return 1; -+ } -+ -+ return 0; -+} -+ - static void - fallback_process(struct evdev_dispatch *dispatch, - struct evdev_device *device, - struct input_event *event, - uint32_t time) - { -+ int need_frame = 0; -+ - switch (event->type) { - case EV_REL: - evdev_process_relative(device, event, time); -@@ -376,7 +400,10 @@ fallback_process(struct evdev_dispatch *dispatch, - evdev_process_key(device, event, time); - break; - case EV_SYN: -+ need_frame = evdev_need_touch_frame(device); - evdev_flush_pending_event(device, time); -+ if (need_frame) -+ notify_touch_frame(device->seat); - break; - } - } --- -2.1.4 - |