#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/screen.h"
#include "ui/gfx/x/x11_types.h"
-#include "ui/views/widget/desktop_aura/desktop_root_window_host_x11.h"
#include "ui/views/widget/desktop_aura/desktop_screen.h"
+#include "ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h"
namespace {
observer_list_.RemoveObserver(observer);
}
-bool DesktopScreenX11::Dispatch(const base::NativeEvent& event) {
+uint32_t DesktopScreenX11::Dispatch(const base::NativeEvent& event) {
if (event->type - xrandr_event_base_ == RRScreenChangeNotify) {
// Pass the event through to xlib.
XRRUpdateConfiguration(event);
}
}
- return true;
+ return POST_DISPATCH_NONE;
}
////////////////////////////////////////////////////////////////////////////////