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

Unified Diff: remoting/client/x11_view.cc

Issue 3175028: Add mouse event support to Chromoting client (Pepper and X11). (Closed)
Patch Set: Remove win float/int conversion Created 10 years, 4 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 | « remoting/client/x11_input_handler.cc ('k') | remoting/host/event_executor_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/x11_view.cc
diff --git a/remoting/client/x11_view.cc b/remoting/client/x11_view.cc
index e40891a8e9d9f63dd5d36b7c6be49365a8008ea3..43ecd656c7e08493494af48113e02780463b0203 100644
--- a/remoting/client/x11_view.cc
+++ b/remoting/client/x11_view.cc
@@ -43,7 +43,13 @@ bool X11View::Initialize() {
XStoreName(display_, window_, "X11 Remoting");
// Specifies what kind of messages we want to receive.
- XSelectInput(display_, window_, ExposureMask | ButtonPressMask);
+ XSelectInput(display_,
+ window_,
+ ExposureMask
+ | KeyPressMask | KeyReleaseMask
+ | ButtonPressMask | ButtonReleaseMask
+ | PointerMotionMask);
+
XMapWindow(display_, window_);
return true;
}
« no previous file with comments | « remoting/client/x11_input_handler.cc ('k') | remoting/host/event_executor_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698