From 87e2747f0f3cd19a637314a85c9d3650bf2d9b46 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Tue, 1 Mar 2016 15:07:51 +0200 Subject: weston: patch no longer relevant Change-Id: I9ee8f90a84c6cda487362c95e11a21137ab27089 Reviewed-by: Teemu Holappa --- ...es-made-in-libinput-src-evdev.c-for-touch.patch | 65 ---------------------- recipes/wayland/weston_1.%.bbappend | 26 --------- 2 files changed, 91 deletions(-) delete mode 100644 recipes/wayland/weston/0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch delete mode 100644 recipes/wayland/weston_1.%.bbappend diff --git a/recipes/wayland/weston/0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch b/recipes/wayland/weston/0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch deleted file mode 100644 index 1bb9253..0000000 --- a/recipes/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 -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 - diff --git a/recipes/wayland/weston_1.%.bbappend b/recipes/wayland/weston_1.%.bbappend deleted file mode 100644 index 6e91467..0000000 --- a/recipes/wayland/weston_1.%.bbappend +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################## -## -## Copyright (C) 2016 The Qt Company Ltd. -## Contact: http://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:COMM$ -## -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see http://www.qt.io/terms-conditions. For further -## information use the contact form at http://www.qt.io/contact-us. -## -## $QT_END_LICENSE$ -## -############################################################################## - -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -SRC_URI_append = " \ -file://0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch \ -" - -- cgit v1.2.3-54-g00ecf