From bb24660607b2463660f53e0fd97238b55c37a81c Mon Sep 17 00:00:00 2001 From: Micah N Gorrell Date: Thu, 28 Mar 2024 11:27:30 -0600 Subject: [PATCH] Updated the less-simple-touch-input patch --- .../less-simple-touch-input.patch | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/less-simple-touch-input/less-simple-touch-input.patch b/less-simple-touch-input/less-simple-touch-input.patch index ce63bbe..180a861 100644 --- a/less-simple-touch-input/less-simple-touch-input.patch +++ b/less-simple-touch-input/less-simple-touch-input.patch @@ -1,7 +1,7 @@ From adc8734017644f44443db30e976cf03147c7c3c4 Mon Sep 17 00:00:00 2001 From: Micah N Gorrell Date: Fri, 9 Feb 2024 17:08:20 -0700 -Subject: [PATCH] Add support for touch screen input devices, and send the +Subject: [PATCH 1/2] Add support for touch screen input devices, and send the appropriate events to clients Send notification of touch motition events even if there is no client to focus. This is important for swiping on an OSK. @@ -236,3 +236,28 @@ index 5867b0c..fe447fb 100644 -- 2.44.0 + +From c2e4ff7253f33c80552abe9126e3c57d0aa23560 Mon Sep 17 00:00:00 2001 +From: Micah N Gorrell +Date: Thu, 28 Mar 2024 11:25:59 -0600 +Subject: [PATCH 2/2] Removed debug + +--- + dwl.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/dwl.c b/dwl.c +index fe447fb..c26c581 100644 +--- a/dwl.c ++++ b/dwl.c +@@ -2713,7 +2713,6 @@ touchdown(struct wl_listener *listener, void *data) + + /* Find the client under the pointer and send the event along. */ + xytonode(lx, ly, &surface, &c, NULL, &sx, &sy); +- // fprintf(stderr, "touch_down at %lf, %lf\n", lx, ly); + + if (surface != NULL) { + serial = wlr_seat_touch_notify_down(seat, surface, event->time_msec, event->touch_id, sx, sy); +-- +2.44.0 +