Files
gtk/gdk
Olivier Fourdan e74ecfe22e wayland: fix up/down mix up in discrete events
The wayland specification for discrete step information for scroll and
other axes reads:

| The discrete value carries the directional information. e.g. a
| value of -2 is two steps towards the negative direction of this axis.

mutter sets a value of 1 for SCROLL_DOWN events and -1 for SCROLL_UP
events.

gdkdevice Wayland backend does the opposite, it translates a positive
discrete value as SCROLL_UP and a negative value as SCROLL_DOWN, which
ends up inverting the scrolling direction.

Fix the logic in gdkdevice Wayland to use a positive value as
SCROLL_DOWN and a negative value as SCROLL_UP so that it matches mutter
and weston logic.

https://bugzilla.gnome.org/show_bug.cgi?id=765907
2016-05-03 11:38:06 +02:00
..
2016-04-21 22:35:47 -04:00
2016-04-27 23:18:16 -04:00
2016-05-01 13:26:35 -04:00
2012-02-27 17:06:11 +00:00
2016-04-27 23:18:16 -04:00
2014-10-13 10:43:31 -04:00
2015-05-08 13:34:25 -04:00
2012-02-27 17:06:11 +00:00
2016-05-01 13:26:35 -04:00
2016-04-30 16:46:11 -04:00
2016-04-30 21:06:38 -04:00
2016-04-25 12:29:36 +01:00
2014-11-06 12:24:43 +01:00
2012-02-27 17:06:11 +00:00
2013-04-19 20:11:39 -04:00
2016-04-15 22:22:48 -04:00
2013-04-19 20:11:38 -04:00
2013-04-19 20:11:38 -04:00
2016-04-27 23:18:16 -04:00
2016-04-27 23:18:16 -04:00
2016-04-18 11:46:58 -04:00
2014-08-30 00:53:21 -04:00
2015-10-03 22:26:27 -04:00
2014-06-11 21:55:15 -04:00
2016-04-09 17:38:03 -04:00
2016-04-30 23:15:20 -04:00
2012-02-27 17:06:11 +00:00
2013-07-17 17:52:19 -04:00
2016-04-27 23:18:16 -04:00