[gtk/wip/chergert/for-4-6: 30/56] macos: leave a note about monitor configuration




commit 867f2de1948d5218708960f7952b6d0e54fd37a8
Author: Christian Hergert <christian hergert me>
Date:   Wed Mar 2 00:37:07 2022 -0800

    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.

 gdk/macos/gdkmacosdisplay.c | 4 ++++
 1 file changed, 4 insertions(+)
---
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;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]