* w32fns.c (w32_createwindow): Honour left and top positions if
supplied explicitly.
+2006-10-07 Ralf Angeli <angeli@caeruleus.net>
+
+ * w32fns.c (w32_createwindow): Honour left and top positions if
+ supplied explicitly.
+
2006-10-06 Kim F. Storm <storm@cua.dk>
* xdisp.c (pos_visible_p): Fix value when EOB is visible.
}
}
- if (EQ (left, Qunbound) && EQ (top, Qunbound))
+ if (f->size_hint_flags & USPosition || f->size_hint_flags & PPosition)
+ {
+ XSETINT (left, f->left_pos);
+ XSETINT (top, f->top_pos);
+ }
+ else if (EQ (left, Qunbound) && EQ (top, Qunbound))
{
/* When called with RES_TYPE_NUMBER, w32_get_arg will return zero
for anything that is not a number and is not Qunbound. */