summaryrefslogtreecommitdiff
path: root/src/modules/conf_theme
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2020-09-17 17:45:45 +0100
committerAlastair Poole <netstar@gmail.com>2020-09-17 17:45:45 +0100
commit1183f221cce38df2808f10a6368a6cb87d5e1522 (patch)
tree3e9677500ed1c25687623b877dd91e7220215f1b /src/modules/conf_theme
parent9adfc913e4b6bda4ae018112efe7af3f33c940d8 (diff)
downloadenlightenment-1183f221cce38df2808f10a6368a6cb87d5e1522.tar.gz
xsettings: restore DPI on X settings disable.
Diffstat (limited to 'src/modules/conf_theme')
-rw-r--r--src/modules/conf_theme/e_int_config_xsettings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/conf_theme/e_int_config_xsettings.c b/src/modules/conf_theme/e_int_config_xsettings.c
index 983d45bcfb..44b8a9aa51 100644
--- a/src/modules/conf_theme/e_int_config_xsettings.c
+++ b/src/modules/conf_theme/e_int_config_xsettings.c
@@ -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;