Commit 2770d589 authored by Jason Rumney's avatar Jason Rumney

2006-10-07 Ralf Angeli <angeli@caeruleus.net>

	* w32fns.c (w32_createwindow): Honour left and top positions if
	supplied explicitly.
parent 118c1c2d
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.
......
......@@ -2108,7 +2108,12 @@ w32_createwindow (f)
}
}
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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment