diff options
author | Christian Hergert <christian@hergert.me> | 2022-03-02 00:37:07 -0800 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2022-03-16 12:25:09 -0700 |
commit | 867f2de1948d5218708960f7952b6d0e54fd37a8 (patch) | |
tree | f7ba718b00a128ccef364333383affa20dec30f0 | |
parent | 50e2a8239b100a26b3d91245249e8b27083481c2 (diff) | |
download | gtk+-867f2de1948d5218708960f7952b6d0e54fd37a8.tar.gz |
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.
-rw-r--r-- | gdk/macos/gdkmacosdisplay.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |