Index: remoting/host/remoting_me2me_host.cc |
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc |
index 96fe46e40165ff34fb2a592013ed555494c8eaff..13b54fc6dc74538925a2cd164ed1717006bf338b 100644 |
--- a/remoting/host/remoting_me2me_host.cc |
+++ b/remoting/host/remoting_me2me_host.cc |
@@ -53,6 +53,7 @@ |
#include "remoting/host/host_main.h" |
#include "remoting/host/host_signaling_manager.h" |
#include "remoting/host/host_status_logger.h" |
+#include "remoting/host/input_injector.h" |
#include "remoting/host/ipc_constants.h" |
#include "remoting/host/ipc_desktop_environment.h" |
#include "remoting/host/ipc_host_event_logger.h" |
@@ -818,6 +819,8 @@ void HostProcess::StartOnUiThread() { |
desktop_environment_factory_.reset(desktop_environment_factory); |
desktop_environment_factory_->SetEnableGnubbyAuth(enable_gnubby_auth_); |
+ desktop_environment_factory_->set_supports_touch_events( |
+ InputInjector::SupportsTouchEvents()); |
context_->network_task_runner()->PostTask( |
FROM_HERE, |