Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: ui/aura/desktop_host_linux.cc

Issue 8387043: [Aura] Support always-on-top top level window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync, move AlwaysOnTonController from Shell to StackingController Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/aura/desktop_host_linux.cc
diff --git a/ui/aura/desktop_host_linux.cc b/ui/aura/desktop_host_linux.cc
index 875f39d71416d1b24c68c79caccce79c8ceaa1de..344fa261900a050312d7230f14b36c85dacad775 100644
--- a/ui/aura/desktop_host_linux.cc
+++ b/ui/aura/desktop_host_linux.cc
@@ -285,6 +285,9 @@ DesktopHostLinux::DesktopHostLinux(const gfx::Rect& bounds)
DesktopHostLinux::~DesktopHostLinux() {
XDestroyWindow(xdisplay_, xwindow_);
+
+ // Clears XCursorCache.
+ ui::GetXCursor(ui::kCursorClearXCursorCache);
}
base::MessagePumpDispatcher::DispatchStatus DesktopHostLinux::Dispatch(

Powered by Google App Engine
This is Rietveld 408576698