~sircmpwn/public-inbox

casa: Fix last_x -> last_y typo v1 PROPOSED

Tom Lebreux
Tom Lebreux: 1
 Fix last_x -> last_y typo

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/public-inbox/patches/9803/mbox | git am -3
Learn more about email & git

[PATCH casa] Fix last_x -> last_y typo Export this patch

Tom Lebreux
Signed-off-by: Tom Lebreux <tomlebreux@cock.li>
---
I can't test it but I'm assuming this is a simple typo.

 src/input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input.c b/src/input.c
index 2955c80e0f2d..96b369aa10aa 100644
--- a/src/input.c
+++ b/src/input.c
@@ -45,7 +45,7 @@ wl_touch_down(void *data, struct wl_touch *wl_touch,
	tp->surface = surf;
	tp->last_x = tp->cur_x = tp->init_x =
		(int)(wl_fixed_to_double(x) * surf->scale);
	tp->last_x = tp->cur_y = tp->init_y =
	tp->last_y = tp->cur_y = tp->init_y =
		(int)(wl_fixed_to_double(y) * surf->scale);
	tp->last_time = tp->cur_time = tp->init_time = time;
	casa_surface_schedule_frame(surf);
-- 
2.25.0
Thanks!

To git.sr.ht:~sircmpwn/casa
   019dcb8..3e438f2  master -> master
View this thread in the archives