Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: ui/views/widget/desktop_aura/x11_pointer_grab.cc

Issue 968343002: Make the native select menu work on Linux touch screen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/devices/x11/touch_factory_x11.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/x11_pointer_grab.cc
diff --git a/ui/views/widget/desktop_aura/x11_pointer_grab.cc b/ui/views/widget/desktop_aura/x11_pointer_grab.cc
index 26a1c1d643eb2ee95314d64d4a3ecd3d194944da..f50aa24d9b18dd23325003998d3ac0844f56f8fb 100644
--- a/ui/views/widget/desktop_aura/x11_pointer_grab.cc
+++ b/ui/views/widget/desktop_aura/x11_pointer_grab.cc
@@ -32,6 +32,9 @@ int GrabPointer(XID window, bool owner_events, ::Cursor cursor) {
XISetMask(mask, XI_ButtonPress);
XISetMask(mask, XI_ButtonRelease);
XISetMask(mask, XI_Motion);
+ XISetMask(mask, XI_TouchBegin);
+ XISetMask(mask, XI_TouchUpdate);
+ XISetMask(mask, XI_TouchEnd);
XIEventMask evmask;
evmask.mask_len = sizeof(mask);
evmask.mask = mask;
« no previous file with comments | « ui/events/devices/x11/touch_factory_x11.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698