summaryrefslogtreecommitdiffstats
path: root/remoting/client/x11_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/client/x11_view.cc')
-rw-r--r--remoting/client/x11_view.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/remoting/client/x11_view.cc b/remoting/client/x11_view.cc
index e40891a..43ecd65 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;
}