summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-10
diff options
context:
space:
mode:
authorTor Lillqvist <tml@src.gnome.org>1999-05-30 02:15:33 +0000
committerTor Lillqvist <tml@src.gnome.org>1999-05-30 02:15:33 +0000
commit16d002d074ef55142d2eb9740bed4ed2ad4a8e01 (patch)
tree308129a63f7969cc2741f0e1dc3a5ba2eaf5bffc /ChangeLog.pre-2-10
parente060cbf62a0aa54b56b0e536d2a78490f33cb171 (diff)
downloadgtk+-16d002d074ef55142d2eb9740bed4ed2ad4a8e01.tar.gz
AdjustWindowRectEx2 renamed to SafeAdjustWindowRectEx. Don't override all
* gdk/win32/gdkwindow.c: AdjustWindowRectEx2 renamed to SafeAdjustWindowRectEx. Don't override all calls to AdjustWindowRectEx by it, but use it only in two places: When creating a new top-level window and when moving a top-level window. Use screen coordinate rectangle, not client rectangle, in gdk_window_move. Thus SafeAdjustWindowRectEx will do its job only when we try to place a window so that the decoration (mainly, title bar) isn't visible. These changes fix the bug that showed up for instance as the GIMP's saved top-level windows moving right and down (by an amount equal to the window decoration) for each session. This bug showed up also in testgtk's "Saved Position". gdk_window_resize also redone a bit.
Diffstat (limited to 'ChangeLog.pre-2-10')
-rw-r--r--ChangeLog.pre-2-1020
1 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 259bf0f597..0970ddad49 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,23 @@
+1999-05-30 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkwindow.c: AdjustWindowRectEx2 renamed to
+ SafeAdjustWindowRectEx. Don't override all calls to
+ AdjustWindowRectEx by it, but use it only in two places: When
+ creating a new top-level window and when moving a top-level
+ window.
+
+ Use screen coordinate rectangle, not client rectangle, in
+ gdk_window_move. Thus SafeAdjustWindowRectEx will do its job only
+ when we try to place a window so that the decoration (mainly,
+ title bar) isn't visible.
+
+ These changes fix the bug that showed up for instance as the
+ GIMP's saved top-level windows moving right and down (by an amount
+ equal to the window decoration) for each session. This bug showed
+ up also in testgtk's "Saved Position".
+
+ gdk_window_resize also redone a bit.
+
1999-05-25 Tor Lillqvist <tml@iki.fi>
* gtk/testgtkrc: Add (commented out) Windows-style theme