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

Unified Diff: ash/system/night_light/night_light_controller.cc

Issue 2905923002: Enable software compositing while Night Light is on (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/night_light/night_light_controller.cc
diff --git a/ash/system/night_light/night_light_controller.cc b/ash/system/night_light/night_light_controller.cc
index 3a28ba0807acf030742867b1ea86e2881a6f2629..90e3179f6d5a571c3caa709199c3be3db226fd29 100644
--- a/ash/system/night_light/night_light_controller.cc
+++ b/ash/system/night_light/night_light_controller.cc
@@ -115,6 +115,7 @@ void NightLightController::Refresh() {
ApplyColorTemperatureToLayers(
GetEnabled() ? GetColorTemperature() : 0.0f,
base::TimeDelta::FromSeconds(kManualToggleAnimationDurationSec));
+ Shell::Get()->SetCursorCompositingEnabled(GetEnabled());
}
void NightLightController::StartWatchingPrefsChanges() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698