Commit 083a28fe authored by Jean-Claude Batista's avatar Jean-Claude Batista Committed by Alexandre Julliard

Provide position hints for window managers.

parent 646c562f
......@@ -345,7 +345,9 @@ BOOL X11DRV_WND_CreateWindow(WND *wndPtr, CLASS *classPtr, CREATESTRUCTA *cs, BO
if (size_hints)
{
size_hints->win_gravity = StaticGravity;
size_hints->flags = PWinGravity;
size_hints->x = cs->x;
size_hints->y = cs->y;
size_hints->flags = PWinGravity|PPosition;
if (HAS_DLGFRAME(cs->style,cs->dwExStyle))
{
......
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