forked from enlightenment/enlightenment
disable cpuclock powersave updating for demo gadgets
This commit is contained in:
parent
3ddd090173
commit
753df97428
|
@ -208,6 +208,7 @@ _cpuclock_event_cb_powersave(void *data, int type, void *event)
|
|||
|
||||
if (type != E_EVENT_POWERSAVE_UPDATE) return ECORE_CALLBACK_PASS_ON;
|
||||
if (!inst->cfg->cpuclock.auto_powersave) return ECORE_CALLBACK_PASS_ON;
|
||||
if (inst->cfg->id == -1) return ECORE_CALLBACK_RENEW;
|
||||
|
||||
ev = event;
|
||||
if (!inst->cfg->cpuclock.status->orig_governor)
|
||||
|
|
Loading…
Reference in New Issue