summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/e_backlight.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bin/e_backlight.c b/src/bin/e_backlight.c
index 89552e3c9..bc21ba7f6 100644
--- a/src/bin/e_backlight.c
+++ b/src/bin/e_backlight.c
@@ -28,9 +28,7 @@ static void _e_backlight_update(void);
28static void _e_backlight_set(double val); 28static void _e_backlight_set(double val);
29static Eina_Bool _bl_anim(void *data, double pos); 29static Eina_Bool _bl_anim(void *data, double pos);
30static Eina_Bool bl_avail = EINA_TRUE; 30static Eina_Bool bl_avail = EINA_TRUE;
31#ifndef HAVE_WAYLAND_ONLY
32static Eina_Bool xbl_avail = EINA_FALSE; 31static Eina_Bool xbl_avail = EINA_FALSE;
33#endif
34#if defined(HAVE_EEZE) || defined(__FreeBSD_kernel__) 32#if defined(HAVE_EEZE) || defined(__FreeBSD_kernel__)
35static double bl_delayval = 1.0; 33static double bl_delayval = 1.0;
36static const char *bl_sysval = NULL; 34static const char *bl_sysval = NULL;
@@ -162,7 +160,7 @@ E_API void
162e_backlight_mode_set(E_Zone *zone, E_Backlight_Mode mode) 160e_backlight_mode_set(E_Zone *zone, E_Backlight_Mode mode)
163{ 161{
164 E_Backlight_Mode pmode; 162 E_Backlight_Mode pmode;
165 163
166 // zone == NULL == everything 164 // zone == NULL == everything
167 if (e_config->backlight.mode == mode) return; 165 if (e_config->backlight.mode == mode) return;
168 pmode = e_config->backlight.mode; 166 pmode = e_config->backlight.mode;