From 129b8bb7f19d2ba35263622fcee6bcc1d8a46da3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 21 Apr 2020 16:56:42 -0400 Subject: [PATCH] window: Use gtk_system_setting_change Propagate GTK_SYSTEM_SETTING_DISPLAY when the display of the window changes. --- gtk/gtkwindow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index ca1688550c..89a6eefbba 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -7110,6 +7110,8 @@ gtk_window_set_display (GtkWindow *window, gtk_widget_map (widget); check_scale_changed (window); + + gtk_widget_system_setting_changed (GTK_WIDGET (window), GTK_SYSTEM_SETTING_DISPLAY); } static void