Commit Graph

106 Commits

Author SHA1 Message Date
Alexandre Julliard cb538c0533 Merged palette option processing into the main configuration code. 2005-06-14 18:12:15 +00:00
Alexandre Julliard 2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +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 333e49d78b Moved the UsePrimary config parameter to the x11drv section, renamed
as UsePrimarySelection.
2005-04-21 17:31:50 +00:00
Alexandre Julliard 036dcf2a2a Include Xmd.h in x11drv.h with the proper defines to make it work, and
remove related hacks in various C files.
2005-04-14 12:48:11 +00:00
Alexandre Julliard 5054c79880 Try to always keep the server window Z-order in sync with the X11 one
using a heuristic based on mouse and expose events.
2005-03-21 12:37:00 +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
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 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 6a78c16aac Moved private USER definitions to a new user_private.h header, and
removed the global user.h.
2004-12-08 18:06:14 +00:00
Vincent Béron 57fb99fa25 Protect some more types which can be redeclared in Xmd.h. 2004-10-18 19:37:19 +00:00
Ofir Petruska 7054a8de78 Default DesktopDoubleBuffered to true. 2004-08-09 18:48:49 +00:00
Alexandre Julliard 642584c560 Make x11drv fail to load when it can't open the display, instead of
killing the whole process.
2004-07-13 03:49:52 +00:00
Mike Hearn c34b79ce43 Output X11 protocol errors before breaking into debugger. 2004-07-09 19:25:59 +00:00
Mike Hearn 0bc2edf341 Make UseXrandr default to true in the no config file case. 2004-06-14 16:58:38 +00:00
Eric Pouech df93f2eeee GetModuleFileName[AW] doesn't terminate the string if the buffer is
too small.
2004-05-19 03:22:55 +00:00
Alexandre Julliard 9f986f9a99 Don't close the current thread display on process exit, we don't close
the other ones anyway. Should avoid XRender error in metafile test.
2004-05-04 02:57:29 +00:00
Alex Pasadyn a4626a43f5 Update the desktop window size and send WM_DISPLAYCHANGE on resolution
changes.
2004-02-13 03:58:21 +00:00
Chris Morgan 98ae5ac103 If unable to open an X11 display mention that X needs to be running
and that $DISPLAY must be set correctly.
2004-01-30 22:54:39 +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
Alexandre Julliard 294c8af60b Removed some unnecessary inclusions of gdi.h. 2004-01-20 22:48:57 +00:00
Alexandre Julliard 19dfc3ce74 Removed XInitThreads call, the X libraries still have too many bugs to
make this viable.
2004-01-09 01:10:59 +00:00
Alexandre Julliard a4330f9363 Removed X11 display parameter from the config file, this is more
confusing than useful.
2003-12-05 00:11:48 +00:00
Alexandre Julliard e6d7d5ab2c Initialize Xlib threading support to see what it breaks... 2003-12-04 21:59:51 +00:00
Alexandre Julliard 15c64e704b Removed the ts_xlib files. 2003-11-21 21:50:59 +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
Alexandre Julliard b539a571e3 There's no need to initialize XKB on the GDI display, this saves a
couple of server round trips.
2003-11-20 23:46:24 +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
Alex Pasadyn bab639e78a - Added support for XRandR extension.
- Added new debugging channels for resolution changing.
- Streamlined resolution changing and removed duplicated code.
2003-10-16 00:21:42 +00:00
Alexandre Julliard 90dc6580f5 Make sure all 16-bit system drivers are loaded for 16-bit apps. 2003-09-27 02:34:07 +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
Alexandre Julliard 19b6a49845 Allocate DebugInfo field for all critical sections (based on a patch
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Dmitry Timoshkov 6f84b68776 Print X display and locale of X Input Method in the debug log. 2003-08-12 20:33:43 +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
Alexandre Julliard 8d361bd41c Properly initialize keyboard auto-repeat for all X connections. 2003-03-23 20:07:55 +00:00
Alexandre Julliard 27441a91e0 XCloseIM sometimes crashes in Xlib, don't call it. 2003-01-30 01:08:53 +00:00
Alexandre Julliard 49a013cdd3 When using desktop mode attach all thread inputs together, so that
keyboard focus works properly.
2003-01-28 00:34:07 +00:00
Alexandre Julliard 8b6a21950d Create an X input context for each top-level window. 2003-01-23 01:28:12 +00:00
Lionel Ulmer 56ab2b3e91 Load OpenGL library dynamically from x11drv. 2002-11-15 04:16:38 +00:00
Huw Davies 94705862d6 Client side render fonts for XServers without the Render extension
using X11 core requests.
2002-11-14 22:31:34 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Alexandre Julliard 4b9344eb15 Moved ts_xlib.c into x11drv and removed libwine_tsx11. 2002-09-25 03:29:55 +00:00
Alexandre Julliard 2c40e29987 Import wine_tsx11_lock/unlock directly from x11drv in opengl32 and
ddraw, so that they don't need to link with libwine_tsx11.
Removed header wine_gl.h.
2002-09-25 00:29:56 +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
Alexandre Julliard 1a80921903 Added support for the take focus protocol. 2002-09-18 23:09:50 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00