forked from enlightenment/enlightenment
remove HAVE_WAYLAND_ONLY for defining xbl_avail
This commit is contained in:
parent
e7f6227770
commit
2b4c7e0eed
|
@ -28,9 +28,7 @@ static void _e_backlight_update(void);
|
||||||
static void _e_backlight_set(double val);
|
static void _e_backlight_set(double val);
|
||||||
static Eina_Bool _bl_anim(void *data, double pos);
|
static Eina_Bool _bl_anim(void *data, double pos);
|
||||||
static Eina_Bool bl_avail = EINA_TRUE;
|
static Eina_Bool bl_avail = EINA_TRUE;
|
||||||
#ifndef HAVE_WAYLAND_ONLY
|
|
||||||
static Eina_Bool xbl_avail = EINA_FALSE;
|
static Eina_Bool xbl_avail = EINA_FALSE;
|
||||||
#endif
|
|
||||||
#if defined(HAVE_EEZE) || defined(__FreeBSD_kernel__)
|
#if defined(HAVE_EEZE) || defined(__FreeBSD_kernel__)
|
||||||
static double bl_delayval = 1.0;
|
static double bl_delayval = 1.0;
|
||||||
static const char *bl_sysval = NULL;
|
static const char *bl_sysval = NULL;
|
||||||
|
@ -162,7 +160,7 @@ E_API void
|
||||||
e_backlight_mode_set(E_Zone *zone, E_Backlight_Mode mode)
|
e_backlight_mode_set(E_Zone *zone, E_Backlight_Mode mode)
|
||||||
{
|
{
|
||||||
E_Backlight_Mode pmode;
|
E_Backlight_Mode pmode;
|
||||||
|
|
||||||
// zone == NULL == everything
|
// zone == NULL == everything
|
||||||
if (e_config->backlight.mode == mode) return;
|
if (e_config->backlight.mode == mode) return;
|
||||||
pmode = e_config->backlight.mode;
|
pmode = e_config->backlight.mode;
|
||||||
|
|
Loading…
Reference in New Issue