aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2006-10-07 20:10:23 +0000
committerJason Rumney2006-10-07 20:10:23 +0000
commit2770d5898ced8f331b6e23c0157f37545920f3d2 (patch)
treedab2e2b2d6948f4f6af99fd583b899437d19689e /src
parent118c1c2da3433d86f1f3ac25904e44c2eab06e3f (diff)
downloademacs-2770d5898ced8f331b6e23c0157f37545920f3d2.tar.gz
emacs-2770d5898ced8f331b6e23c0157f37545920f3d2.zip
2006-10-07 Ralf Angeli <angeli@caeruleus.net>
* w32fns.c (w32_createwindow): Honour left and top positions if supplied explicitly.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/w32fns.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fe3d51f1a35..c20c577615f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12006-10-07 Ralf Angeli <angeli@caeruleus.net>
2
3 * w32fns.c (w32_createwindow): Honour left and top positions if
4 supplied explicitly.
5
12006-10-06 Kim F. Storm <storm@cua.dk> 62006-10-06 Kim F. Storm <storm@cua.dk>
2 7
3 * xdisp.c (pos_visible_p): Fix value when EOB is visible. 8 * xdisp.c (pos_visible_p): Fix value when EOB is visible.
diff --git a/src/w32fns.c b/src/w32fns.c
index 4f07817b566..f7e211649e0 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -2108,7 +2108,12 @@ w32_createwindow (f)
2108 } 2108 }
2109 } 2109 }
2110 2110
2111 if (EQ (left, Qunbound) && EQ (top, Qunbound)) 2111 if (f->size_hint_flags & USPosition || f->size_hint_flags & PPosition)
2112 {
2113 XSETINT (left, f->left_pos);
2114 XSETINT (top, f->top_pos);
2115 }
2116 else if (EQ (left, Qunbound) && EQ (top, Qunbound))
2112 { 2117 {
2113 /* When called with RES_TYPE_NUMBER, w32_get_arg will return zero 2118 /* When called with RES_TYPE_NUMBER, w32_get_arg will return zero
2114 for anything that is not a number and is not Qunbound. */ 2119 for anything that is not a number and is not Qunbound. */