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

Unified Diff: mojo/services/native_viewport/native_viewport_x11.cc

Issue 344763004: Fixs bug where keyevents weren't created correctly on X (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « no previous file | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/native_viewport/native_viewport_x11.cc
diff --git a/mojo/services/native_viewport/native_viewport_x11.cc b/mojo/services/native_viewport/native_viewport_x11.cc
index b3db2e8682e9cc2e988bf0c7907560cdd85b43fa..f1b4863529c1d718ac4d66188d5d9c299a0b33c6 100644
--- a/mojo/services/native_viewport/native_viewport_x11.cc
+++ b/mojo/services/native_viewport/native_viewport_x11.cc
@@ -132,7 +132,7 @@ class NativeViewportX11 : public NativeViewport,
if (protocol == atom_wm_delete_window_)
delegate_->OnDestroyed();
} else if (event->type == KeyPress || event->type == KeyRelease) {
- ui::KeyEvent key_event(event, true);
+ ui::KeyEvent key_event(event, false);
darin (slow to review) 2014/06/19 05:12:15 heh, I have this in my tree too!
delegate_->OnEvent(&key_event);
} else if (event->type == ButtonPress || event->type == ButtonRelease ||
event->type == MotionNotify) {
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698