Index: ui/aura/root_window_host_linux.cc |
diff --git a/ui/aura/root_window_host_linux.cc b/ui/aura/root_window_host_linux.cc |
index 9b9885670ea1a68b31e51af9f6a09b6dd5306db3..e720d13277723c136061487f1251426743732c59 100644 |
--- a/ui/aura/root_window_host_linux.cc |
+++ b/ui/aura/root_window_host_linux.cc |
@@ -1097,6 +1097,10 @@ void RootWindowHostLinux::OnDeviceScaleFactorChanged( |
image_cursors_->Reload(device_scale_factor); |
} |
+void RootWindowHostLinux::StopListeningEvents() { |
+ base::MessagePumpAuraX11::Current()->RemoveDispatcherForWindow(xwindow_); |
+} |
+ |
bool RootWindowHostLinux::IsWindowManagerPresent() { |
// Per ICCCM 2.8, "Manager Selections", window managers should take ownership |
// of WM_Sn selections (where n is a screen number). |