Commit Graph

287 Commits

Author SHA1 Message Date
Dave Hawkes e58557c634 Fix lock up in GetKeyNameText due to an increment wrap when KeyCode is
a char type and max_keycode is 255.
2001-11-20 18:49:38 +00:00
François Gouget 1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Alexandre Julliard 32fb580515 Changed X11 mouse driver to use SendInput, and removed WINE_MOUSEEVENT
hack. Moved mouse.c to dlls/x11drv.
Added KeymapNotify event handler, and fixed handling with multiple
alt/shift/control keys.
Removed dinput functions from USER driver.
2001-10-18 21:38:59 +00:00
Alexandre Julliard 4b62618122 Added support for low-level mouse and keyboard hooks.
Misc keyboard handling cleanups.
2001-10-17 17:50:02 +00:00
Alexandre Julliard fb0ff053c0 Added internal Wine messages to perform SetWindowPos, ShowWindow and
SetParent in the correct thread.
Replace QUEUE_IsExitingQueue by USER_IsExitingThread.
Store window rectangles in the server.
Prevent DestroyWindow on windows not belonging to the current thread.
2001-10-16 21:58:58 +00:00
Francois Gouget e5ddd26dd7 When including config.h, include it first. 2001-10-14 16:18:52 +00:00
Dominik Strasser 9d777f90c6 Workaround X11 BadWindow error if no parent window is found. 2001-10-12 18:41:50 +00:00
Francois Gouget ba7f6c541f Fix infinite loop problem in wineclipsrv startup.
LaunchServer: Don't give up on the first message.
Added GetSelectionEvent: Limit CPU use and introduce timeout.
2001-10-08 20:28:36 +00:00
Dmitry Timoshkov 2c7cc63179 Add XK_Mode_switch to the list of ignored keysyms. 2001-10-05 19:37:19 +00:00
Dmitry Timoshkov ef54643490 Remove a hack for keyboard group switching.
Always save/restore correct keyboard group index.
Explicitly ignore the keyboard group switching events.
2001-10-02 17:17:31 +00:00
Brad Campbell 6b8cedfd62 Fixed mouse position processing for use with a touchscreen. 2001-09-19 22:41:22 +00:00
Andriy Palamarchuk 2bdbf30bb9 Added russian layout with phantom key. 2001-09-19 22:26:15 +00:00
Alexandre Julliard 629aab1768 Fixed a couple of HWND type mismatches. 2001-09-19 20:34:17 +00:00
Andriy Palamarchuk 4ee65164dc Fixed references to old documentation location. 2001-09-17 19:07:56 +00:00
Andy Rysin 872784fc2f Added Ukrainian keyboard layout. 2001-09-10 23:15:26 +00:00
Alexandre Julliard 0801ffc5a3 Implemented GetAncestor and removed WIN_GetTopParent.
Removed a few more accesses to the WND structure.
2001-08-24 00:26:59 +00:00
Francois Gouget 588ff3743a Documentation updates (mainly thru vs. through). 2001-08-21 17:07:17 +00:00
Alexandre Julliard 4ff32c8aef Removed a number of direct accesses to the window structure. 2001-08-18 18:08:26 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Alexandre Julliard f899ef07a6 Removed some unnecessary includes. 2001-07-23 00:04:00 +00:00
Alexandre Julliard ed15fc7de1 Moved ForceWindowRaise to the USER driver and removed the WND driver. 2001-06-29 01:26:41 +00:00
Dmitry Timoshkov b91d2dfa5b Replace one more PROFILE_ function by RegQueryValueExA. 2001-06-26 19:36:23 +00:00
Dmitry Timoshkov 698ef15b19 Replace some 16-bit calls by their 32-bit equivalents. 2001-06-25 20:08:44 +00:00
Alexandre Julliard f9037de2ae Implemented SendInput(). 2001-06-25 20:01:03 +00:00
Alexandre Julliard f4b14106f7 Don't rely on X to expose windows covered by a sibling, do it
manually.
2001-06-22 03:42:27 +00:00
Ove Kaaven 624f14e776 Make GetCursorPos call XQueryPointer. 2001-06-21 00:44:09 +00:00
Dmitry Timoshkov de70d2b2c7 Replace PROFILE_ functions by RegQueryValueExA in x11drv. 2001-06-19 03:32:44 +00:00
Alexandre Julliard 247e18fb14 Force invalidating of siblings children on expose event. 2001-06-13 19:43:53 +00:00
Alexandre Julliard dc4fe7735b Create an X window for every window, including children.
Fixed non-client rectangle calculations in managed mode.
Added support for icon window in managed mode.
2001-06-04 21:55:17 +00:00
Alexandre Julliard 51ab43bd13 Moved the major part of message queue and window timer handling into
the server.
Implemented MsgWaitForMultipleObjectsEx.
2001-05-18 22:51:56 +00:00
Francois Gouget cd8d181a0b Spelling typos. 2001-05-18 21:01:38 +00:00
Alexandre Julliard 4323004bf1 Create an X connection for each thread, and process X events in the
thread that created the corresponding X window.
Spawn a separate thread to run the desktop message loop in desktop
mode.
2001-05-16 19:52:29 +00:00
Alexandre Julliard c559735bf8 Renamed display to gdi_display where it is used for GDI operations, to
allow supporting multiple X connections.
2001-05-11 00:17:47 +00:00
Alexandre Julliard e3fe9f24ce Moved ScrollWindowEx implementation to the graphics driver. 2001-05-10 03:23:59 +00:00
Alexandre Julliard f2d78536dc Removed XShmCompletion event support (no longer used). 2001-05-09 19:48:32 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Alexandre Julliard 3abeae8f4a Moved window move/resize syscommand handling to the graphics driver. 2001-05-09 17:21:04 +00:00
Alexandre Julliard c6a835a63e Remove Get/SetBeepActive from USER driver and manage it locally inside
SystemParametersInfo.
2001-05-05 00:49:15 +00:00
Marcus Meissner eb0ab7681c Made checks in _get_common_ancestor a bit stricter to avoid XQueryTree
XErrors.
2001-04-30 18:16:51 +00:00
Alexandre Julliard 46401a2a1c Avoid crash on deleted windows. 2001-04-25 19:53:28 +00:00
Alexandre Julliard 9ae0fe54b0 Moved most of the implementation of SetWindowPos and SetDrawable into
the user driver, and the corresponding code into the dlls/x11drv
directory. Moved a few functions out of the window driver into the
user driver. Plus a few related cleanups.
2001-04-24 23:28:52 +00:00
Gustavo Noronha Silva (KoV) 12a7923224 Added US international keyboard. 2001-04-02 19:12:58 +00:00
Gavriel State 4d73ba6e21 - Always use a double-buffered visual if one is available.
- Ensure that all colormaps created use the double-buffered visual if
  it exists. This prevents problems where DRI GL implementations fail
  to work unless the colormap visual matches the window visual matches the
  glX visual.
- Get around similar visual issue with the default GL context created for
  apps that don't create their own contexts before trying to use GL functions.
2001-03-28 01:45:08 +00:00
Alexandre Julliard 26320d1f75 Cleanup properly on x11drv unloading.
Moved --synchronous option into config file.
Removed --desktop, --display and --language command-line options.
2001-03-23 23:45:45 +00:00
Alexandre Julliard f88e5aa7bf Cleaned up assumptions about WS_CHILD flag so that we can allow it to
be changed in SetWindowLong.
2001-03-21 23:55:36 +00:00
Andreas Mohr 8c2f4b18fa Some more message cleanups. 2001-03-03 00:22:50 +00:00
Johannes E. Schindelin 0ba5909038 Some minor changes to the German keyboard layout. 2001-02-28 21:41:17 +00:00
Aric Stewart 278dd15eb2 - We need to make sure we pay attention to if our call to
SetClipboardData from the X11DRV version of the function works. If not
  we need to delete the global block we allocated. This is a sever memory
  leak with large clipboard items.
- If an X selection it too large then X may give it to us in chunks,
  we were not handling this well.
2001-02-23 01:31:47 +00:00
Alexandre Julliard da2892c0fb Do not allocate any USER data on the system heap. 2001-02-23 01:13:42 +00:00
Aric Stewart 6c1b680b6e Correct the codepage for the Turkish keyboard. 2001-02-16 19:06:50 +00:00