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.
This commit is contained in:
Christian Hergert 2022-03-02 00:37:07 -08:00
parent bdd5393084
commit 4cdb07fa02

View File

@ -156,6 +156,10 @@ gdk_macos_display_update_bounds (GdkMacosDisplay *self)
self->width = self->max_x - self->min_x; self->width = self->max_x - self->min_x;
self->height = self->max_y - self->min_y; 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; GDK_END_MACOS_ALLOC_POOL;
} }