[gtk/wip/chergert/quartz4u: 104/142] macos: fix scroll mouse direction
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/quartz4u: 104/142] macos: fix scroll mouse direction
- Date: Tue, 23 Jun 2020 18:38:31 +0000 (UTC)
commit 8291022757a17d99e8f22d1f65e82da1d91e2b6d
Author: Christian Hergert <chergert redhat com>
Date: Thu May 21 10:24:49 2020 -0700
macos: fix scroll mouse direction
gdk/macos/gdkmacosdisplay-translate.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/gdk/macos/gdkmacosdisplay-translate.c b/gdk/macos/gdkmacosdisplay-translate.c
index 628ec5df5a..4e86556499 100644
--- a/gdk/macos/gdkmacosdisplay-translate.c
+++ b/gdk/macos/gdkmacosdisplay-translate.c
@@ -640,7 +640,6 @@ fill_scroll_event (GdkMacosDisplay *self,
else
direction = GDK_SCROLL_UP;
- dy = fabs (dy);
dx = 0.0;
}
else if (dx != 0.0)
@@ -650,7 +649,6 @@ fill_scroll_event (GdkMacosDisplay *self,
else
direction = GDK_SCROLL_LEFT;
- dx = fabs (dx);
dy = 0.0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]