forked from AuroraMiddleware/gtk
window: Use gtk_system_setting_change
Propagate GTK_SYSTEM_SETTING_DISPLAY when the display of the window changes.
This commit is contained in:
parent
723d57eeb5
commit
129b8bb7f1
@ -7110,6 +7110,8 @@ gtk_window_set_display (GtkWindow *window,
|
|||||||
gtk_widget_map (widget);
|
gtk_widget_map (widget);
|
||||||
|
|
||||||
check_scale_changed (window);
|
check_scale_changed (window);
|
||||||
|
|
||||||
|
gtk_widget_system_setting_changed (GTK_WIDGET (window), GTK_SYSTEM_SETTING_DISPLAY);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user