projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdd5393
)
macos: leave a note about monitor configuration
author
Christian Hergert
<christian@hergert.me>
Wed, 2 Mar 2022 08:37:07 +0000
(
00:37
-0800)
committer
Christian Hergert
<christian@hergert.me>
Wed, 2 Mar 2022 08:37:07 +0000
(
00:37
-0800)
It can be helpful to see what the range of monitor values is when emulating
the GDK coordinate system.
gdk/macos/gdkmacosdisplay.c
patch
|
blob
|
history
diff --git
a/gdk/macos/gdkmacosdisplay.c
b/gdk/macos/gdkmacosdisplay.c
index ddcc27437256285f20b8ec7805682dd7b33731ce..798633f33a12a4d24aec5570dcb3fa33a0ce2e63 100644
(file)
--- 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;
}