Commit Graph

50 Commits

Author SHA1 Message Date
Liu Spider bda34eaa52 Added XNFocusWindow attribute when creating a IC. 2003-01-30 01:07:43 +00:00
Alexandre Julliard 8b6a21950d Create an X input context for each top-level window. 2003-01-23 01:28:12 +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
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +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 9376fb30c5 Fixed a number of -DSTRICT warnings. 2002-10-31 02:12:18 +00:00
Alexandre Julliard 0286135de3 Rewrote hook support to store the hook chain in the server.
Split off 16-bit hook functions and re-implemented them on top of the
32-bit ones; system-wide 16-bit hooks are no longer supported at this
point.
2002-10-29 00:41:42 +00:00
Michael Stefaniuc bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Alexandre Julliard e9119c198d Removed some more TSX11 functions and files. 2002-09-24 18:36:51 +00:00
Alexandre Julliard 1a80921903 Added support for the take focus protocol. 2002-09-18 23:09:50 +00:00
Alexandre Julliard 911a17748f Don't map/unmap a top-level window when WS_VISIBLE changes, only when
we explicitly do a SetWindowPos(SWP_SHOWWINDOW/HIDEWINDOW).
Update the WM hints when mapping a window in case the style has
changed in the meantime.
2002-08-20 00:36:45 +00:00
Alexandre Julliard 21ec1d2a4c Fixed setting of min/maximize mwm hints. 2002-07-16 01:45:31 +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
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard d8a9244fc4 Added function table to GDI objects for better encapsulation.
Removed some direct accesses to the bitmap structure.
Fixed handling of stock bitmap if selected in multiple DCs.
Some minor fixes to the DC function table.
2002-05-31 18:43:22 +00:00
Alexandre Julliard 5954602461 Restored managed mode config file option. 2002-05-23 16:32:32 +00:00
Dimitrie O. Paun e361ceab45 Remove the --managed option, and make wine use the managed mode by
default.
2002-05-23 02:43:09 +00:00
Michael Cardenas f0b6b9a1ba Cap window sizes at 65535. 2002-05-07 01:52:15 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Ove Kaaven 77e7fd7a24 Added support for MWM hints. 2002-01-21 18:41:27 +00:00
Rein Klazes 0f2f2b34fa Move calling of CBT hooks from WIN_CreateWindowEx() to the driver. 2002-01-09 19:09:06 +00:00
Alexandre Julliard ddc3317b7a Store in the server all the window information accessible with
Get/SetWindowLong.
2001-10-22 19:08:33 +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 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
Alexandre Julliard 8fd26b9134 Renamed WIN_GetWndPtr into WIN_GetPtr and added corresponding
WIN_ReleasePtr. Started using it instead of WIN_FindWndPtr where we
don't need to access windows of other processes.
2001-10-15 17:56:45 +00:00
Alexandre Julliard 556607a147 Store window parent as an HWND instead of a pointer. 2001-10-10 20:28:17 +00:00
Ilya Konstantinov 560ca323e2 Added a _NET_WM_NAME(UTF8_STRING) property to every window. 2001-10-02 18:44:56 +00:00
Alexandre Julliard f44bbb8d10 Make sure that HWND comparisons are always done with full 32-bit
handles.
2001-09-14 00:24:39 +00:00
Alexandre Julliard 1a66d226eb Added global management of user handles in the server.
Very preliminary support for shared window handles.
2001-08-28 18:44:52 +00:00
Alexandre Julliard 9d9dac0947 Added WIN_ListParents function and renamed WIN_BuildWinArray into
WIN_ListChildren. Made owner field in WND structure an HWND.
2001-08-24 19:28:21 +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
Dmitry Timoshkov 4bc0b28897 Fixed an incorrect (harmless) memory allocation. 2001-08-22 18:04:00 +00:00
Alexandre Julliard 8f4c007ff5 Fixed desktop window structure initialization. 2001-07-31 01:00:50 +00:00
Alexandre Julliard 8cd1f719bc Use AdjustWindowRect to translate X to window rectangle instead of
duplicating what's done in nonclient.c.
2001-07-20 18:37:37 +00:00
Lionel Ulmer 1fc39be64f Fix X crash when running in managed mode. 2001-07-12 22:27:56 +00:00
Alexandre Julliard 704d035364 Fixed a few issues with tsx11 locking.
Always map the client window when moving out of iconic state.
2001-07-12 02:49:31 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Alexandre Julliard 649637f53f Added window properties to make some x11drv-specific information
available to higher level code.
2001-06-26 21:10:11 +00:00
Alexandre Julliard 838d65aebe Moved hardware message queue handling to the server. 2001-06-19 19:16:41 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Dmitry Timoshkov de70d2b2c7 Replace PROFILE_ functions by RegQueryValueExA in x11drv. 2001-06-19 03:32:44 +00:00
Alexandre Julliard 883cff405b Fixed handling of zero-sized client window.
Create the X windows before sending WM_NCCREATE.
2001-06-12 04:02:10 +00:00
Alexandre Julliard 0b16474c2a Removed WIN_NATIVE flag. 2001-06-08 19:00:56 +00:00
Gerard Patel ad363030a1 Use a flag to test if create structure is unicode. 2001-06-06 21:26:50 +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 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 b19c57ca71 Fixed reparenting to desktop (found by Gerard Patel). 2001-05-10 21:06:56 +00:00
Alexandre Julliard e3fe9f24ce Moved ScrollWindowEx implementation to the graphics driver. 2001-05-10 03:23:59 +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