From 083a28fec3f92087f3ca92f3f7c07b94e1a68d4f Mon Sep 17 00:00:00 2001 From: Jean-Claude Batista Date: Tue, 1 Aug 2000 00:18:56 +0000 Subject: [PATCH] Provide position hints for window managers. --- windows/x11drv/wnd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/windows/x11drv/wnd.c b/windows/x11drv/wnd.c index 7eb3554437b..75bc5648478 100644 --- a/windows/x11drv/wnd.c +++ b/windows/x11drv/wnd.c @@ -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)) {