Commit Graph

52 Commits

Author SHA1 Message Date
Dimitrie O. Paun
dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Niels Kristian Bech Jensen
c69a80c31d Compiler warnings fixed. 1999-11-28 20:31:04 +00:00
Ove Kaaven
b5fed2f027 Fixed XShm completion event leak. 1999-11-12 00:59:17 +00:00
Ove Kaaven
7da242dbd5 DirectX-XShm now waits for the X server to finish the previous frame
before sending another frame down its pipe, avoiding the X server
overload and resulting slowness that used to be.
1999-11-07 22:44:06 +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
Karl Lessard
a69bc02958 Never send a WM_CLOSE message to a popup window. 1999-11-04 02:11:55 +00:00
Pierre Mageau
18c9ee815e On ConfigureNotify, find the first visible window above the current one. 1999-10-31 21:30:16 +00:00
Noomen Hamza
d1a1f7d6f7 Popup windows will be hidden when we minimize a main frame or shown
when we maximize or restore a minimized main frame.
1999-10-24 00:02:27 +00:00
Abey George
fbecbc2952 Make sure the Focus Out window is still the Foreground window before
doing SetForegroundWindow(0) in Event_FocusOut.
1999-10-13 13:49:01 +00:00
Noomen Hamza
fcc24ff431 WS_POPUP windows (excluding the WS_POPUPWINDOW windows) should be
closed after loosing the focus.
1999-09-23 11:42:16 +00:00
Gerard Patel
99b68252a1 Fix infinite loop with glastXFocusWindow. 1999-09-22 15:16:50 +00:00
Noel Borthwick
d05b7beb5a - Add clipboard support for copying/pasting bitmaps or Pixmaps between Wine
and native Linux applications.
- Respond to the MULTIPLE selection request target when Wine is the
  selection owner.
- Relax type checking for TARGETS selection.
1999-09-20 15:42:47 +00:00
Noel Borthwick
2970067b14 - Implement interprocess clipboard communication.
- Support for the PRIMARY and CLIPBOARD selection atoms.
- Support for the TARGETS selection format.
- Expose native Windows clipboard formats through X selection targets.
1999-09-03 15:17:57 +00:00
Stephane Lussier
34264f2686 WM_SYSCOMMAND message (for SC_CLOSE) should be posted not sent. 1999-08-07 14:12:42 +00:00
Noel Borthwick
36d7ca38b8 While handling the X FocusIn message in managed mode, if the window
has been disabled revert the X focus back to the last focus window.
1999-07-24 12:16:00 +00:00
Marcus Meissner
e32a317b76 Removed the old, historical and no longer working IPC support. 1999-07-11 14:13:56 +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
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
Patrik Stridvall
4bf335497d Removed direct references to CLASS internals. 1999-06-12 14:52:15 +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
92499dba2f Try to improve ConfigureNotify event processing. 1999-06-05 15:12:39 +00:00
Ulrich Weigand
2bb2d9b008 Fixed potential memory corruption in EVENT_QueryZOrder.
Fixed potential X synchronization problem in X11DRV_WND_SetHostAttr.
1999-06-05 11:49:04 +00:00
Ulrich Weigand
153334e50a Removed DummyMotionNotify EVENT driver routine. 1999-06-05 09:02:11 +00:00
Ulrich Weigand
7581f85617 Moved X input event handling out of EVENT_WaitNetEvent and into
service thread callback; moved EVENT_WaitNetEvent out of the EVENT_
driver.  Changed winContext to hold HWND instead of WND *.
1999-05-22 18:57:17 +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
Alexandre Julliard
06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Ulrich Weigand
9dcaeca29f Use SERVICES callback to implement Windows timers.
Timer expiration handling removed from EVENT_WaitNetEvent loop.
1999-05-02 11:30:39 +00:00
David Luyer
a4dd6a6af1 - consolidate both cases of !pending in WaitNetEvent
- select() returns -1 not 0 on error in WaitNetEvent
1999-04-25 09:11:05 +00:00
Patrik Stridvall
0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Patrik Stridvall
b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Noel Borthwick
a0d03ef1fc While handling the WM_DELETEWINDOW client message check if a window
has been disabled and if so prevent an SC_CLOSE message from being
sent.
1999-04-18 09:21:01 +00:00
Francois Boisvert
e5811f0eb1 Solved a deadlock between global lock and wnd lock in event.c. 1999-04-15 15:22:23 +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
Dimitrie O. Paun
05c0c8ef13 Changed some debug messages from one channel to another, to clean up a
bit the debug channel usage.
1999-03-28 15:07:41 +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
Ulrich Weigand
85d52b35c3 Add IsWindow() checks after SendMessage() returns. 1999-03-24 15:01:29 +00:00
Ulrich Weigand
6d45e7a9ef Avoid unnecessary error messages. 1999-03-16 10:37:30 +00:00
Francois Boisvert
6b1b41cf85 Made access to the wnd struct thread-safe. 1999-03-14 17:25:32 +00:00
Jim Aston
2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Ulrich Weigand
9cfeb5b88c Avoid unnecessary GraphicsExpose events. 1999-03-10 13:26:09 +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
Stephane Lussier
b50272bd75 Fix problem where you need mouse activity to unlock some 16 bits
thread with multi-threaded apps.
1999-02-21 18:15:26 +00:00
Patrik Stridvall
ab121e7838 X11 driver changes. 1999-02-04 11:11:01 +00:00
Francis Beaudet
84ee125fd9 Make sure that the keystate received by the WM_XBUTTONUP and
WM_XBUTTONDOWN matches the message. In X, the keystate is changed
after the message is processed.  In Windows, it is changed before.
1999-01-30 12:59:09 +00:00
Ulrich Weigand
1afd5a25f0 Use Callout to call RedrawWindow32. 1999-01-20 12:52:10 +00:00
Patrik Stridvall
151170c437 Moved more things to the X11 driver. 1998-12-26 12:00:43 +00:00
Ulrich Weigand
be672fe587 Handle non-hardware X events correctly with native USER
(removed reference to MESSAGEQUEUE from KERNEL code).
Handle Expose events with native USER.
1998-12-24 14:59:53 +00:00
Ulrich Weigand
2f09818fcd Removed deferred Expose events handling. 1998-12-10 08:59:53 +00:00