| Index: ui/views/widget/desktop_aura/x11_desktop_handler.cc
|
| diff --git a/ui/views/widget/desktop_aura/x11_desktop_handler.cc b/ui/views/widget/desktop_aura/x11_desktop_handler.cc
|
| index 3ee269bb3d4bec82e20a74f1b827029ba5825e2a..f5e7f20766276a15cf5e416f48017ae901ea799a 100644
|
| --- a/ui/views/widget/desktop_aura/x11_desktop_handler.cc
|
| +++ b/ui/views/widget/desktop_aura/x11_desktop_handler.cc
|
| @@ -12,9 +12,9 @@
|
| #include "ui/aura/env.h"
|
| #include "ui/aura/window_event_dispatcher.h"
|
| #include "ui/base/x/x11_menu_list.h"
|
| -#include "ui/base/x/x11_util.h"
|
| #include "ui/base/x/x11_window_event_manager.h"
|
| #include "ui/events/platform/platform_event_source.h"
|
| +#include "ui/gfx/x/x11_atom_cache.h"
|
| #include "ui/gfx/x/x11_error_tracker.h"
|
| #include "ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h"
|
|
|
| @@ -90,7 +90,7 @@ bool X11DesktopHandler::CanDispatchEvent(const ui::PlatformEvent& event) {
|
| uint32_t X11DesktopHandler::DispatchEvent(const ui::PlatformEvent& event) {
|
| switch (event->type) {
|
| case PropertyNotify: {
|
| - if (event->xproperty.atom == ui::GetAtom("_NET_CURRENT_DESKTOP")) {
|
| + if (event->xproperty.atom == gfx::GetAtom("_NET_CURRENT_DESKTOP")) {
|
| if (UpdateWorkspace()) {
|
| for (views::X11DesktopHandlerObserver& observer : observers_)
|
| observer.OnWorkspaceChanged(workspace_);
|
|
|