summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArwed Meyer <[email protected]>2025-09-11 19:14:51 +0200
committerVictor Kareh <[email protected]>2025-09-26 15:50:40 +0000
commitc78329d2219bab2bd50db942292e9b1ebb2689be (patch)
tree81cbcfeca04ba508b2793b7495abf6d52523242d
parenta9e74dd7050c35acdfee934f11a1aae9beeb43be (diff)
downloadmate-power-manager-master.tar.bz2
mate-power-manager-master.tar.xz
fixup! add: switch kbd-backlight-enableHEADmaster
-rw-r--r--src/gpm-kbd-backlight.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpm-kbd-backlight.c b/src/gpm-kbd-backlight.c
index 027bdda..bb7e9c0 100644
--- a/src/gpm-kbd-backlight.c
+++ b/src/gpm-kbd-backlight.c
@@ -384,8 +384,8 @@ gpm_kbd_backlight_evaluate_power_source_and_set (GpmKbdBacklight *backlight)
guint dim_by = 0;
if (g_settings_get_boolean (backlight->priv->settings, GPM_SETTINGS_KBD_BACKLIGHT_ENABLE) == FALSE) {
- g_warning ("policy is no dimming");
- return FALSE;
+ g_debug ("policy is no dimming");
+ return TRUE;
}
if (up_client_get_on_battery (backlight->priv->client) &&