Commit Graph

61 Commits

Author SHA1 Message Date
Alexandre Julliard fcfee2794b Fixed some broken code that was causing compiler warnings. 2005-11-23 14:30:41 +01:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Alexandre Julliard 261e376495 Fixed a number of pointer to integer conversions that wouldn't work
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Mike McCormack e5efc5a657 gcc 4.0 warning fixes. 2005-08-16 16:02:45 +00:00
Alexandre Julliard 4fa411fa07 Don't call WaitForMultipleObjectsEx if we are just polling for pending
X events.
2005-08-03 15:47:30 +00:00
Dmitry Timoshkov a726387a07 Take into account CS_NOCLOSE window class style and SC_CLOSE system
menu item state while handling WM_X11DRV_DELETE_WINDOW request.
2005-07-25 11:08:43 +00:00
Alexandre Julliard d286b8a660 Use standard TLS functions instead of a TEB internal field to access
per-thread data.
2005-06-01 11:08:39 +00:00
Alexandre Julliard 23d9ac25b2 Avoid calling WIN_ListChildren from the graphics drivers. 2005-03-24 20:41:27 +00:00
Alexandre Julliard 8382bf015e Added WM_X11DRV_DELETE_WINDOW message to handle close requests so that
we can send the WM_SYSCOMMAND with SendMessage instead of PostMessage.
Added missing NONAMELESSUNION define.
2005-03-09 18:46:13 +00:00
Alexandre Julliard aef19abc82 Moved SendInput and related functions to the USER driver to avoid a
number of dll separation hacks.
2005-03-09 16:45:23 +00:00
Alexandre Julliard 5beccd01ac Take into account the event mask passed to MsgWaitForMultipleObjectsEx
to allow processing only a subset of the available X events.
2005-03-08 19:20:14 +00:00
Ulrich Czekalla 5067909587 Create a thread-specific selection window to make sure we receive the
selection events in the correct thread.
2005-03-07 19:31:46 +00:00
Alexandre Julliard 2fd19dfb98 Use a dispatch table to handle X client messages. 2005-03-01 11:52:02 +00:00
Alexandre Julliard 94846a39dc Use a table of handlers to dispatch X events and get rid of the
special casing for DGA and tablet events.
Unify the declarations of all the event handlers.
2005-02-26 17:49:38 +00:00
Alexandre Julliard 0778a45da2 Moved clipboard event handling functions and some private data
structures to clipboard.c.
2005-02-25 21:01:15 +00:00
Alexandre Julliard 983a8b5888 Revert SC_CLOSE change, this is causing deadlocks. 2005-02-23 21:47:32 +00:00
Ulrich Czekalla 43b5576998 Duplicate Windows behaviour and use SendMessage for the SC_CLOSE
system command instead of PostMessage.
2005-02-18 20:00:57 +00:00
Alexandre Julliard d56ccaa7e1 Use an X context to associated the x11drv private window data to a
window handle instead of accessing the WND structure directly.
2005-01-28 17:25:50 +00:00
Rémi Assailly 81b13c4bb5 Added missing declarations. 2005-01-20 20:36:01 +00:00
Alexandre Julliard 6382ffae2a Replace a number of calls to WIN_FindWndPtr by WIN_GetPtr. 2005-01-20 20:07:42 +00:00
Alexandre Julliard fc5ce14592 Avoid most references to the internals of the WND structure by passing
around an x11drv_win_data pointer instead.
2005-01-17 19:17:47 +00:00
Jeremy White 77502e7e62 Fix X11 event timing so that we correctly correlate X11 timing and
Wine timing and dynamically adjust it as we go.
2005-01-14 17:06:40 +00:00
Alexandre Julliard e2a7181069 Warning fix. 2005-01-11 15:13:11 +00:00
Ulrich Czekalla 318b963f9f Always clearAllSelections since not clearing CLIPBOARD can get us into
an odd state.
2005-01-04 20:34:46 +00:00
Dmitry Timoshkov 7d6f360f94 Ignore FocusOut event if there is no event window. 2004-09-29 21:11:28 +00:00
Hans Leidekker 5f6f63a49d Fix signed/unsigned comparison warnings. 2004-08-11 23:45:34 +00:00
Ulrich Czekalla 0a8d550901 Handle case when data type is not registered. 2004-07-08 20:14:23 +00:00
Mike Hearn 99afa3a4a2 The KeymapNotify event does not use the window member, so don't warn
about it being unknown.
2004-03-19 01:17:32 +00:00
Ulrich Czekalla 455a22394a Implemented rendering synthesized BITMAP and DIB formats. 2004-02-20 05:43:00 +00:00
Aric Stewart 9672b791ee Use X11 XIM callbacks to enable full IME support.
Correct some timing issues with XIM input.
Start to provide the framework for the MSIME messages.
2004-01-21 02:22:26 +00:00
Aric Stewart 2eebf3c78e Enable Tablet support with both Tilt and Pressure. 2004-01-09 00:03:00 +00:00
Alexandre Julliard 5329fc8902 Get rid of clipboard.h. 2003-12-05 04:45:50 +00:00
Alexandre Julliard 64c0e2ac96 Removed the remaining TSX calls. 2003-11-21 21:48:36 +00:00
Alexandre Julliard 720af28ea4 Always ignore BadMatch errors resulting from XSetInputFocus so that we
don't need to wait for the reply.
2003-11-21 05:30:34 +00:00
Alexandre Julliard 2496c08b76 Get rid of a bunch of TSX functions. 2003-11-21 00:17:33 +00:00
Ulrich Czekalla 032bdc9f1d Initial implementation to support XDND protocol. 2003-11-20 22:09:51 +00:00
Alexandre Julliard d09c3289a2 Intern all the atoms we'll need in one step to avoid multiple server
round trips.
2003-11-20 04:24:18 +00:00
Alexandre Julliard 9f514fe239 Avoid the XSync call in X11DRV_expect_error by storing the current
request number and checking that on errors.
Moved the XSync call from X11DRV_check_error into the callers so that
it can be avoided for requests that already wait for a reply.
2003-11-09 00:34:43 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Ulrich Czekalla 18873e77d0 Fixed handling of synthesized data.
Don't report errors when there is no selection owner.
Reintegrate the COMPOUND_TEXT patch by Kusanagi Kouichi.
2003-07-08 21:02:51 +00:00
Ulrich Czekalla b2df5f9f19 - use global atoms for the format ids
- add timeout when calling XCheckTypedWindowEvent
- fix broken IsClipboardFormatAvailable; it tried to do a trick with
  EnumClipboardFormats by making incorrect assumptions
- in X11DRV_IsClipboardFormatAvailable do a quick exit if no one owns
  the selection
- add 1 second *minimum* time lapse between XSelectionOwner calls
- sync clipboard ownership between different wine processes
- prevents apps from getting into wierd state where they thought they
  didn't own the selection but they did and as a result queried
  themselves for available selection data
2003-06-23 23:02:02 +00:00
Dmitry Timoshkov 42c4d27842 Mask out MWMO_WAITALL if only server queue handle was passed in. 2003-05-19 19:07:32 +00:00
Mike Hearn 34dd455f44 Support _NET_WM_PING protocol so the WM can detect freezes. 2003-05-04 02:27:20 +00:00
Alexandre Julliard e5fb975a6e Added dead keys support using X input methods (based on a patch by
Dmitry Timoshkov).
2003-01-23 01:29:58 +00:00
Alexandre Julliard a29960e702 Make sure to always set X focus on the top-level window, not on
child windows.
2003-01-21 20:16:20 +00:00
Dimitrie O. Paun cef5961d2b Eliminate lots of __WINE__ conditionals from the headers. 2003-01-03 19:12:55 +00:00
Alexandre Julliard 18d029722f Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Alexandre Julliard e0315e4433 Converted x11drv to -DSTRICT. 2002-10-31 02:38:20 +00:00
Alexandre Julliard 5030bda77c Reimplemented Get/SetActiveWindow, Get/SetFocus and
Get/SetForegroundWindow by storing the information in the
server. Implemented correct inter-process window activation.
2002-10-11 23:41:06 +00:00
Alexandre Julliard db057e70f5 Fixed X11 error code mismatch and removed debugging output. 2002-09-26 03:23:13 +00:00