[Wayland-bugs] [Bug 731380] gtk3-demo button box works badly with a touch screen under wayland

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Mon Aug 25 17:55:30 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=731380
  gtk+ | Backend: Wayland | 3.13.x

Matthias Clasen <mclasen> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #284197|none                        |reviewed
             status|                            |

--- Comment #10 from Matthias Clasen <mclasen at redhat.com> 2014-08-26 00:55:29 UTC ---
Review of attachment 284197:
 --> (https://bugzilla.gnome.org/review?bug=731380&attachment=284197)

::: gtk/gtkbutton.c
@@ +635,3 @@
+  gtk_gesture_get_point (gesture, sequence, &x, &y);
+
+  in_button = (x >= 0 && y >= 0 && x < allocation.width && y <
allocation.height);

Shouldn't allocation.x/y be used here ?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Wayland-bugs mailing list