diff --git a/gdk/quartz/gdkscreen-quartz.c b/gdk/quartz/gdkscreen-quartz.c index 11fe702ded..c9b45366e6 100644 --- a/gdk/quartz/gdkscreen-quartz.c +++ b/gdk/quartz/gdkscreen-quartz.c @@ -186,15 +186,15 @@ process_display_reconfiguration (GdkScreenQuartz *screen) gdk_screen_quartz_calculate_layout (GDK_SCREEN_QUARTZ (screen)); - if (width != gdk_screen_get_width (GDK_SCREEN (screen)) - || height != gdk_screen_get_height (GDK_SCREEN (screen))) - g_signal_emit_by_name (screen, "size-changed"); - if (screen->emit_monitors_changed) { g_signal_emit_by_name (screen, "monitors-changed"); screen->emit_monitors_changed = FALSE; } + + if (width != gdk_screen_get_width (GDK_SCREEN (screen)) + || height != gdk_screen_get_height (GDK_SCREEN (screen))) + g_signal_emit_by_name (screen, "size-changed"); } static gboolean