Provide position hints for window managers.

This commit is contained in:
Jean-Claude Batista 2000-08-01 00:18:56 +00:00 committed by Alexandre Julliard
parent 646c562f9c
commit 083a28fec3
1 changed files with 3 additions and 1 deletions

View File

@ -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))
{