powersave - screen power - update sleepers on screen pwr change

i forgot to wake up sleepers on screen powersave change. fix it.
devs/bu5hm4n/mixerfun
Carsten Haitzler 2 years ago
parent e9037af871
commit 0f738dad29
  1. 2
      src/bin/e_powersave.c

@ -151,6 +151,7 @@ e_powersave_mode_screen_set(E_Powersave_Mode mode)
printf("PWSAVE SCREEN SET %i/%i\n", (int)mode, (int)E_POWERSAVE_MODE_FREEZE);
powersave_screen = EINA_TRUE;
powersave_mode_screen = mode;
_e_powersave_event_change_send(powersave_mode_screen);
_e_powersave_mode_eval();
}
@ -161,6 +162,7 @@ e_powersave_mode_screen_unset(void)
printf("PWSAVE SCREEN UNSET\n");
powersave_screen = EINA_FALSE;
powersave_mode_screen = E_POWERSAVE_MODE_NONE;
_e_powersave_event_change_send(powersave_mode_screen);
_e_powersave_mode_eval();
}

Loading…
Cancel
Save