ui: config change response.

This could do with a delay on the poll change...but it's better
This commit is contained in:
Alastair Poole 2021-01-20 17:12:59 +00:00
parent e083ce96c8
commit c6823260e3
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ evisum_ui_config_save(Ui *ui)
{
if ((_evisum_config->proc.poll_delay != ui->proc.poll_delay) ||
(_evisum_config->proc.show_kthreads != ui->proc.show_kthreads) ||
(_evisum_config->proc.show_user != ui->proc.show_user) ||
(_evisum_config->proc.show_scroller != ui->proc.show_scroller)
)
{

View File

@ -1640,6 +1640,7 @@ _evisum_config_changed_cb(void *data, int type EINA_UNUSED, void *event EINA_UNU
(ui->proc.show_scroller ?
ELM_SCROLLER_POLICY_ON :
ELM_SCROLLER_POLICY_OFF));
pd->skip_wait = 1;
return EINA_TRUE;
}