diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/w32fns.c | 7 |
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 @@ | |||
| 1 | 2006-10-07 Ralf Angeli <angeli@caeruleus.net> | ||
| 2 | |||
| 3 | * w32fns.c (w32_createwindow): Honour left and top positions if | ||
| 4 | supplied explicitly. | ||
| 5 | |||
| 1 | 2006-10-06 Kim F. Storm <storm@cua.dk> | 6 | 2006-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. */ |