forked from enlightenment/enlightenment
Run the config_save first before we call dpms_init because dpms_init reads
the e_config variables and we want to be sure it is reading current values. SVN revision: 29290
This commit is contained in:
parent
89f833959d
commit
c84a9fe3f8
|
@ -162,9 +162,8 @@ _apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
|||
e_config->dpms_suspend_timeout = cfdata->suspend_timeout * 60;
|
||||
e_config->dpms_off_timeout = cfdata->off_timeout * 60;
|
||||
|
||||
e_dpms_init();
|
||||
|
||||
e_config_save_queue();
|
||||
e_dpms_init();
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue