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
Alexandre Julliard
e9119c198d
Removed some more TSX11 functions and files.
2002-09-24 18:36:51 +00:00
Alexandre Julliard
df8e6eeb0f
Removed a bunch of no longer used TSX wrappers.
2002-09-24 03:17:31 +00:00
Dimitrie O. Paun
9dd1279a82
- Remove export of DRAG_QueryUpdate from USER.
...
- Get rid of associated 16 bit code from x11drv.
- Simplifications, cleanups, etc.
2002-09-23 20:56:37 +00:00
Alexandre Julliard
1a80921903
Added support for the take focus protocol.
2002-09-18 23:09:50 +00:00
Michael Stefaniuc
2247af320d
- Rename WIN_Handle16 to HWDN_16 and make it a macro.
...
- Prepare user.dll for the change of HWND to a void*.
2002-09-04 19:37:01 +00:00
Ulrich Czekalla
651c5988aa
- Add a max wait time for selection notifies.
...
- Add new function to the x11drv to get clipboard format names of
externally registered formats.
- When a clipboard format is registered we should pass the global atom
value as the format identifier.
- Clipboard format name should be treated as case insensitive.
- Serialize metafile bits when requested via a clipboard selection.
- Return format ids for native formats when mapping from properties.
2002-08-27 19:19:49 +00:00
Alexandre Julliard
9428f06993
Update the cursor for each window on receiving an X11 event, don't
...
wait for the SetCursor call.
Added EnterNotify handler to set the cursor on window map/unmap.
2002-06-14 00:08:40 +00:00