Commit Graph

145 Commits

Author SHA1 Message Date
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Rein Klazes d38f600f69 Avoid problems during changing the Z-order if the window and the
window to insert after are the same.
2000-01-08 22:22:28 +00:00
Huw D M Davies be89816eef Avoid infinite loop in WINPOS_FindIconPos if the width of the parent
client area is less than the icon spacing.
1999-12-25 22:51:19 +00:00
Lionel Ulmer acc7467c03 Added the possibility to have mouse movements reported relative to
Wine's mouse driver.
1999-11-07 21:25:57 +00:00
Abey George 983f90a594 Changed WINPOS_CanActivate to not to consider WS_VISIBLE style.
Code for activating and setting focus to other windows when a window
is hidden, is moved to ShowWindow from SetWindowPos.
Activate the top level window if it's not active in ShowWindow(SW_SHOW).
1999-10-13 15:43:45 +00:00
Thuy Nguyen 22614a3390 We have to activate MDI child windows. 1999-10-13 13:53:10 +00:00
Abey George c684d8ef6f Check new coordinates received in WM_NCCALCSIZE message. 1999-09-03 15:09:57 +00:00
Francis Beaudet 8623fdc251 If the window is already the topmost window in ShowWindow(SW_SHOW), it
must not be activated.
1999-08-07 14:14:06 +00:00
Yuxi Zhang a961c445ed Tried to fix the code for SetWindowPos to erase the background
properly.
1999-07-31 11:09:33 +00:00
Thuy Nguyen f18e7c322e Check if the window has the WS_CLIPSIBLINGS style before using the
DCX_CLIPSIBLINGS flag.
1999-07-27 17:03:16 +00:00
Abey George 8beefb51bf Validate the parent with the child window client rectangle when the
parent's update region is not empty.
1999-07-18 15:40:03 +00:00
Ulrich Weigand 203780eb6e Removed all EVENT_Synchronize( FALSE ) calls; use a periodic callback
calling XFlush() instead.
1999-07-10 10:24:31 +00:00
Alexandre Julliard 359f497e97 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-07-04 16:02:24 +00:00
Yuxi Zhang 8e35d65f06 Fix a bug in SetWindowPos to prevent parent from erasing its child
painting area when parent window and child window don't have
WS_CLIPCHILDREN and WS_CLIPSIBLINGS.
1999-07-04 10:53:43 +00:00
Ulrich Weigand 7f53c57321 - Do not call XConfigureWindow if SetWindowPos was called due to a
received ConfigureNotify event (to avoid recursion).
- Use XTranslateCoordinates in EVENT_GetGeometry instead of manually
  walking the tree.
- Set XSizeHint.win_gravity to StaticGravity for managed windows.
1999-06-18 17:03:13 +00:00
Ulrich Weigand b38e1decb8 Better implementation of [GS]etForegroundWindow.
Fixed focus handling on inter-thread activation.
Adapted FocusIn/Out event handling to per-queue focus.
1999-06-12 06:42:20 +00:00
Ulrich Weigand 153334e50a Removed DummyMotionNotify EVENT driver routine. 1999-06-05 09:02:11 +00:00
Eric Pouech 6cf348d70a In SetWindowPos if changing Z order and child window not yet in its
parent list, do not link it in WINPOS_ShowIconTitle, check for retval
of WIN_FindWndPtr.
1999-05-22 19:20:02 +00:00
Ulrich Weigand c758201397 Don't change Z-order of child windows when activating. 1999-05-22 18:54:41 +00:00
Marcus Meissner ddca315388 Replaced all occurences of SYSMETRICS_xx and sysMetrics[SM_xx] by
GetSystemMetrics(SM_xx), removed no longer needed includes of
sysmetrics.h.
1999-05-22 11:33:23 +00:00
Francis Beaudet d9a3d70df5 Fixed an infinite loop in ChildWindowFromPointEx. 1999-05-13 18:43:15 +00:00
Alex Korobka 98447497b7 Rearranged PAINT_RedrawWindow() so that it first recursively updates
invalid regions and only then starts sending out messages. This should
help with reentrancy during message processing and now it needs just
one (or none) scratch region for all there is to do. Also, small fixes
for SetWindowPos().
1999-05-08 17:57:09 +00:00
Michael Veksler 9d14a001f7 Removed #include "wine/winuser16.h" and use "struct tag????" instead. 1999-05-08 12:40:24 +00:00
Noel Borthwick 10619e98e4 Fixed an unbalanced windows lock/unlock sequence in
WINPOS_ActivateOtherWindow.
1999-05-02 11:20:00 +00:00
Juergen Schmied ddb2e291d3 - better stubs for Get/Set special (Progman/Taskman) window functions 1999-05-02 09:19:19 +00:00
Patrik Stridvall a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Eric Pouech 3be8e3b7ff Properly handling cases like calling SetWindowPos while processing
WM_NCCREATE.
1999-04-18 13:13:40 +00:00
Francois Boisvert 71bdc7c851 Check if pTempActiveWindow in WINPOS_SetWindowPos is valid after the
QUEUE_Lock.
1999-04-11 11:59:25 +00:00
Alex Korobka 44a1b59cec Fixes for ignored WVR_[VH]REDRAW flags, made minimization in managed
mode go through window manager, small bugfixes for menu and window
code, extended clipboard driver model to handle formats other than
text.
1999-04-01 12:03:52 +00:00
Patrik Stridvall b87fe2e9bf More code moved to the X11 driver (bitmap and palette and misc). 1999-04-01 08:16:08 +00:00
Francois Boisvert 3a3cd9fab1 Fixed some bugs in thread safeness for wnd struct. 1999-03-28 12:42:52 +00:00
Alex Korobka 4f1ac05dea Moved hrgnUpdate from client to window coordinates, made nonclient
painting depend on the update region, reworked SetWindowPos() and
RedrawWindow() to speed up update region calculation, made -desktop
work properly, added WM_CANCELMODE here and there, fixed several
window activation bugs that crept in since the last time.
1999-03-28 09:37:57 +00:00
Francois Boisvert 6b1b41cf85 Made access to the wnd struct thread-safe. 1999-03-14 17:25:32 +00:00
Francis Beaudet dae09c99a2 Added checks to guard against NULL active window. 1999-02-28 10:01:44 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Ove Kaaven 077c2732b8 Added extra child arguments to DCE_GetVisRgn() to be able to handle
PARENTDC class style combined with CLIPCHILDREN window style, to
prevent mis-redraws in Free Agent 16-bit.
1999-02-19 15:27:58 +00:00
Ove Kaaven 6ec132b61a Resetting X focus should not be done with SetFocus32. Called
the windowing (X11) driver's SetFocus routine directly instead.
This apparently fixes a big heap of user interface problems.
1999-02-15 12:46:32 +00:00
Eric Pouech b9544f159d Changed some functions prototypes (were returning void). 1999-02-14 14:09:42 +00:00
Francois Boisvert ae806896cb Changed SetWindowPos32 to force the update of the non-client area. 1999-02-14 09:18:15 +00:00
Marcus Meissner 65e1f75f58 Some warnings fixed, one useless VERSION warning removed (winelib). 1999-02-13 17:38:16 +00:00
Ove Kaaven a4e29e5b1d Don't call EVENT_DummyMotionNotify for hidden windows. 1999-02-13 08:55:28 +00:00
Noel Borthwick b427856b45 Added management and allocation of the PERQUEUEDATA structure. 1999-02-05 10:37:53 +00:00
Patrik Stridvall 8d8703cb48 Moved some more code to the X11 driver. 1999-02-04 14:05:38 +00:00
Huw D M Davies 1b450209ec Fix typo in SetWindowPos32. 1999-01-31 09:17:38 +00:00
NF Stevens 114899a9de In Window SetWindowPos with SWP_HIDEWINDOW does not remove
the focus from the focus window; ShowWindow with SW_HIDE does.
So move the code that does this from SetWindowPos to ShowWindow.
1999-01-30 15:49:51 +00:00
Stephane Lussier 1c4786fedf - Made the message queue access to be thread safe. (Using two new
functions to access the message queue, QUEUE_Lock(), QUEUE_Unlock()
  instead of GlobalLock16()).
- Fixed QUEUE_DumpQueue (used by "info queue <handle>" with the
  wine-debugger).
1999-01-28 10:54:11 +00:00
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Patrik Stridvall 151170c437 Moved more things to the X11 driver. 1998-12-26 12:00:43 +00:00
Ulrich Weigand 1babe5b23c Queue handling adapted to new queue routines. 1998-12-24 15:16:08 +00:00