diff --git a/modules/desktop_capture/linux/x11/screen_capturer_x11.cc b/modules/desktop_capture/linux/x11/screen_capturer_x11.cc index 2de387578e..3cc256bdbd 100644 --- a/modules/desktop_capture/linux/x11/screen_capturer_x11.cc +++ b/modules/desktop_capture/linux/x11/screen_capturer_x11.cc @@ -350,10 +350,10 @@ bool ScreenCapturerX11::HandleXEvent(const XEvent& event) { XRRUpdateConfiguration(const_cast(&event)); UpdateMonitors(); RTC_LOG(LS_INFO) << "XRandR screen change event received."; - return true; + return false; } else if (event.type == ConfigureNotify) { ScreenConfigurationChanged(); - return true; + return false; } return false; }