Allow The User To Move Managed Windows By Dragging on HTCAPTION Areas
Robert Shearman
rob at codeweavers.com
Tue Aug 17 13:34:25 CDT 2004
Hi,
I can't see any reason for the current behaviour of not allowing managed
windows to be moved by the user when a HTCAPTION area is dragged. It
seems to cause no ill effects.
Rob
Changelog:
Allow the user to move managed windows by dragging on HTCAPTION areas.
-------------- next part --------------
Index: wine/dlls/x11drv/winpos.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/winpos.c,v
retrieving revision 1.94
diff -u -p -r1.94 winpos.c
--- wine/dlls/x11drv/winpos.c 10 Aug 2004 23:42:52 -0000 1.94
+++ wine/dlls/x11drv/winpos.c 17 Aug 2004 18:25:48 -0000
@@ -1872,7 +1872,7 @@ void X11DRV_SysCommandSizeMove( HWND hwn
pt.y = (short)HIWORD(dwPoint);
capturePoint = pt;
- if (IsZoomed(hwnd) || !IsWindowVisible(hwnd) || (exstyle & WS_EX_MANAGED)) return;
+ if (IsZoomed(hwnd) || !IsWindowVisible(hwnd)) return;
if ((wParam & 0xfff0) == SC_MOVE)
{
More information about the wine-patches
mailing list