forked from enlightenment/enlightenment
xsettings: restore DPI on X settings disable.
This commit is contained in:
parent
9adfc913e4
commit
1183f221cc
|
@ -665,6 +665,8 @@ _e_xsettings_stop(void)
|
|||
{
|
||||
Setting *s;
|
||||
|
||||
_e_xsettings_dpi_set();
|
||||
|
||||
if (!running) return;
|
||||
|
||||
if (manager->timer_retry)
|
||||
|
|
|
@ -158,7 +158,7 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
|||
e_config->xsettings.match_e17_theme = cfdata->match_e17_theme;
|
||||
e_config->xsettings.enabled = cfdata->enable_xsettings;
|
||||
|
||||
if (cfdata->enable_xsettings_dpi)
|
||||
if (cfdata->enable_xsettings && cfdata->enable_xsettings_dpi)
|
||||
e_config->xsettings.dpi.enabled = 1;
|
||||
else
|
||||
e_config->xsettings.dpi.enabled = 0;
|
||||
|
|
Loading…
Reference in New Issue