Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
gtk3
gtk3-x11-fix-menu-touch-by-pointer-emulation.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gtk3-x11-fix-menu-touch-by-pointer-emulation.patch of Package gtk3
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c index 64e4b98d9f..eac972bb41 100644 --- a/gtk/gtkmenu.c +++ b/gtk/gtkmenu.c @@ -1777,8 +1777,13 @@ popup_grab_on_window (GdkWindow *window, GdkSeat *seat; seat = gdk_device_get_seat (pointer); + +/* Let GtkMenu use pointer emulation instead of touch events under X11. */ +#define GDK_SEAT_CAPABILITY_NO_TOUCH (GDK_SEAT_CAPABILITY_POINTER | \ + GDK_SEAT_CAPABILITY_TABLET_STYLUS | \ + GDK_SEAT_CAPABILITY_KEYBOARD) status = gdk_seat_grab (seat, window, - GDK_SEAT_CAPABILITY_ALL, TRUE, + GDK_SEAT_CAPABILITY_NO_TOUCH, TRUE, NULL, NULL, NULL, NULL); return status == GDK_GRAB_SUCCESS;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor