forked from AuroraMiddleware/gtk
settings: Make font-size changes apply immediately
We need to invalidate the style when font-size changes, because we propagate this value through the initial value of the CSS font-size property, and it will not be recomputed otherwise.
This commit is contained in:
parent
91bcf6f0ba
commit
a8e8e04496
@ -1432,6 +1432,7 @@ gtk_settings_notify (GObject *object,
|
||||
settings_update_theme (settings);
|
||||
break;
|
||||
case PROP_XFT_DPI:
|
||||
settings_invalidate_style (settings);
|
||||
gtk_system_setting_changed (settings->display, GTK_SYSTEM_SETTING_DPI);
|
||||
break;
|
||||
case PROP_XFT_ANTIALIAS:
|
||||
|
Loading…
Reference in New Issue
Block a user