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

Unified Diff: ash/shell.cc

Issue 145313003: Implement cursor compositing mode on Ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get rid of current_cursor_set_ and requested_cursor_set_ Created 6 years, 10 months 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: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index a01990e3f85d5f06dfe9ce57a7837c351c3f897f..ceba6b9476ff5d6627914a8d2ca15f1cc182478e 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -559,6 +559,13 @@ void Shell::DoInitialWorkspaceAnimation() {
DoInitialAnimation();
}
+#if defined(OS_CHROMEOS) && defined(USE_X11)
+void Shell::SetCursorCompositingEnabled(bool enabled) {
+ display_controller_->SetCursorCompositingEnabled(enabled);
+ cursor_manager_.SetNativeCursorEnabled(!enabled);
+}
+#endif
+
////////////////////////////////////////////////////////////////////////////////
// Shell, private:

Powered by Google App Engine
This is Rietveld 408576698