<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] Reversed scrolling in GtkMenu"
href="https://bugzilla.gnome.org/show_bug.cgi?id=765907#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] Reversed scrolling in GtkMenu"
href="https://bugzilla.gnome.org/show_bug.cgi?id=765907">bug 765907</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=ofourdan%40redhat.com" title="Olivier Fourdan <ofourdan@redhat.com>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
<pre>humm, could it be a possible mix up between mutter and gtk+?
mutter sets y_discrete as 1 for SCROLL_DOWN and -1 for SCROLL_UP
<a href="https://git.gnome.org/browse/mutter/tree/src/wayland/meta-wayland-pointer.c#n624">https://git.gnome.org/browse/mutter/tree/src/wayland/meta-wayland-pointer.c#n624</a>
Whereas gtk+ takes y_discrete > 0 as SCROLL_UP and y_discrete < 0 as
SCROLL_DOWN
<a href="https://git.gnome.org/browse/gtk+/tree/gdk/wayland/gdkdevice-wayland.c#n1132">https://git.gnome.org/browse/gtk+/tree/gdk/wayland/gdkdevice-wayland.c#n1132</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>