remove HAVE_WAYLAND_ONLY for defining xbl_avail

This commit is contained in:
Clément Bénier 2015-12-11 18:45:08 +01:00 committed by Nicolas Aguirre
parent e7f6227770
commit 2b4c7e0eed
1 changed files with 1 additions and 3 deletions

View File

@ -28,9 +28,7 @@ static void _e_backlight_update(void);
static void _e_backlight_set(double val);
static Eina_Bool _bl_anim(void *data, double pos);
static Eina_Bool bl_avail = EINA_TRUE;
#ifndef HAVE_WAYLAND_ONLY
static Eina_Bool xbl_avail = EINA_FALSE;
#endif
#if defined(HAVE_EEZE) || defined(__FreeBSD_kernel__)
static double bl_delayval = 1.0;
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 pmode;
// zone == NULL == everything
if (e_config->backlight.mode == mode) return;
pmode = e_config->backlight.mode;