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

Unified Diff: remoting/host/client_session.cc

Issue 8985007: Refactoring of the client-side input pipeline and scaling dimension management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
Index: remoting/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index df75407ed09381244a11085194a60a19e222aef8..4748105c69573b69d2004069bcc44b5fb29c6cc4 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -240,6 +240,7 @@ void ClientSession::RestoreEventState() {
for (int i = 1; i < MouseEvent::BUTTON_MAX; i++) {
if (remote_mouse_button_state_ & (1 << (i - 1))) {
MouseEvent mouse;
+ // TODO(wez): Shouldn't [need to] set position here.
mouse.set_x(remote_mouse_pos_.x());
mouse.set_y(remote_mouse_pos_.y());
mouse.set_button((MouseEvent::MouseButton)i);

Powered by Google App Engine
This is Rietveld 408576698