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

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: support always-on-top change after creation, add unittests and fix XCursorCache issue 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 254f43b9581a8819f79586c4334768802cb1af16..e35904cc22569e44be0ba0c361fdcc55d2c6c756 100644
--- a/ui/aura/desktop_host_linux.cc
+++ b/ui/aura/desktop_host_linux.cc
@@ -284,6 +284,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