remove HAVE_WAYLAND_ONLY for defining xbl_avail

devs/captainigloo/eglfs
Clément Bénier 7 years ago committed by Nicolas Aguirre
parent e7f6227770
commit 2b4c7e0eed
  1. 4
      src/bin/e_backlight.c

@ -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;

Loading…
Cancel
Save