From: Christian Hergert Date: Wed, 2 Mar 2022 08:37:07 +0000 (-0800) Subject: macos: leave a note about monitor configuration X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~20^2~4^2~347^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4cdb07fa0276b736c89178b31b89a532a80654f0;p=gtk4.git macos: leave a note about monitor configuration It can be helpful to see what the range of monitor values is when emulating the GDK coordinate system. --- diff --git a/gdk/macos/gdkmacosdisplay.c b/gdk/macos/gdkmacosdisplay.c index ddcc274372..798633f33a 100644 --- a/gdk/macos/gdkmacosdisplay.c +++ b/gdk/macos/gdkmacosdisplay.c @@ -156,6 +156,10 @@ gdk_macos_display_update_bounds (GdkMacosDisplay *self) self->width = self->max_x - self->min_x; self->height = self->max_y - self->min_y; + GDK_NOTE (MISC, + g_message ("Displays reconfigured to bounds %d,%d %dx%d", + self->min_x, self->min_y, self->width, self->height)); + GDK_END_MACOS_ALLOC_POOL; }