Alexandre Julliard
6acd40dc98
Fixed X11DRV_GetDC for the desktop window.
...
Use the client window as drawable when possible.
2004-07-06 23:57:01 +00:00
Alexandre Julliard
618a7e5813
Added support for window regions in the server.
2004-06-29 03:53:25 +00:00
Alexandre Julliard
e59ec7cd94
Use X11DRV_GetRegionData to implement X11DRV_SetWindowRgn instead of
...
duplicating that functionality.
2004-06-28 23:54:22 +00:00
Robert Shearman
55efefddee
Fix small mistake in the previous visible region patch.
2004-06-24 04:06:51 +00:00
Dmitry Timoshkov
d530e54883
WM_WINDOWPOSCHANGED should always contain a final window position.
2004-06-23 20:50:30 +00:00
Alexandre Julliard
e8d86b7cd4
Moved visible region calculation to the server.
2004-06-23 20:44:58 +00:00
Alexandre Julliard
0118c8ba0f
Only unmap the window when it gets moved off-screen by the app, not by
...
the window manager.
2004-06-18 22:34:19 +00:00
Dmitry Timoshkov
b6175f49af
ShowWindow shouldn't fix SWP_ flags, it's the job of SetWindowPos.
2004-06-18 19:37:37 +00:00
Dmitry Timoshkov
4e23f101f3
Do nothing in ShowWindow(SW_SHOW) if a window is already visible.
2004-06-14 19:32:21 +00:00
Mike Hearn
eff34efcf8
Ignore attempts to hide an already invisible window. Add a test case
...
for this behaviour, passes on Wine and Windows 2000.
2004-06-03 23:26:35 +00:00
Alexandre Julliard
59b7d34b7d
Replace empty window rect checks by a new X11DRV_is_window_rect_mapped
...
function so that we can reuse that support for off-screen windows.
2004-04-27 23:32:01 +00:00
Dmitry Timoshkov
70c4864e8c
Restore correct focus handling for ShowWindow(SW_HIDE) case.
2004-04-08 19:47:01 +00:00
Dmitry Timoshkov
b9001f3443
Revert an erroneous patch.
2004-04-08 19:07:20 +00:00
Dmitry Timoshkov
11a3a4f59c
Add SWP_NOZORDER in the case it's not needed.
2004-04-02 20:22:29 +00:00
Dmitry Timoshkov
9858e235d2
A decision whether add SWP_NOACTIVATE or not should be based on
...
GetActiveWindow() test.
2004-04-02 20:18:20 +00:00
Dmitry Timoshkov
0d3748bbf6
ShowWindow should not optimize SW_HIDE, it's the job of SetWindowPos.
2004-04-02 20:16:39 +00:00
Dmitry Timoshkov
85571bb128
Sending WM_SHOWWINDOW is a job of SetWindowPos.
2004-04-02 20:14:15 +00:00
Dmitry Timoshkov
4edbbbd8ea
Windows truncates windows coordinates at 16 bits when moving or
...
resizing a window.
2004-03-11 03:51:46 +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
Alexandre Julliard
294c8af60b
Removed some unnecessary inclusions of gdi.h.
2004-01-20 22:48:57 +00:00
Alexandre Julliard
85dcf1e1a0
Moved SetDrawable, StartGraphicsExposures and EndGraphicsExposures
...
functionality to x11drv escapes so that we don't have to access the DC
structure directly.
2004-01-14 04:53:11 +00:00
Rein Klazes
a97c7d2fb3
In clip_children() don't clip the visible region by children that have
...
a WS_EX_TRANSPARENT style.
2003-11-27 00:56:05 +00:00
Alexandre Julliard
64c0e2ac96
Removed the remaining TSX calls.
2003-11-21 21:48:36 +00:00
Alexandre Julliard
2496c08b76
Get rid of a bunch of TSX functions.
2003-11-21 00:17:33 +00:00
Dmitry Timoshkov
9ac3bdd85f
WM_WINDOWPOSCHANGING should receive original, not fixed values.
2003-11-04 04:21:42 +00:00
Alexandre Julliard
9d61596624
SLOWORD and SHIWORD do not exist on Win32 (reported by Filip Navara).
2003-09-17 04:28:28 +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
453b324315
Map top-level windows when WS_VISIBLE is set, but don't unmap them
...
when it's cleared.
2003-06-24 19:31:47 +00:00
Alexandre Julliard
c177c6e695
Make sure drawable_org is set correctly when using one of the parents
...
as drawable (found by Dmitry Timoshkov).
2003-05-19 19:09:40 +00:00
Duane Clark
5d35bc7428
Correctly encode wParam for WM_SYSCOMMAND,SC_SIZE messages.
2003-02-18 23:24:57 +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
Francois Gouget
d2667a4ce3
Removed unnecessary HANDLE typecasts.
2002-12-02 18:10:57 +00:00
Alexandre Julliard
3f61afbbc8
Added ReleaseDC function to the USER driver interface.
2002-11-14 22:30:20 +00:00
Alexandre Julliard
cf2e57d0c7
Split out some more 16-bit code.
2002-10-31 22:06:53 +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
Alexandre Julliard
11e3523949
Rewrote caret implementation to store the information in the server.
2002-10-17 01:24:33 +00:00
Alexandre Julliard
a9e8f59c95
Moved mouse capture handling into the server.
2002-10-12 01:24:37 +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
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
8f1f4c2d5f
Fixed #endif.
2002-09-24 03:59:08 +00:00
Alexandre Julliard
df8e6eeb0f
Removed a bunch of no longer used TSX wrappers.
2002-09-24 03:17:31 +00:00
Mike McCormack
5ece353acd
Rely on the window manager to show and hide popup windows for us.
2002-08-29 01:48:18 +00:00
Bill Medland
155710ce62
SetWindowPos sends WM_WINDOWPOSCHANGED even if it has been told not to
...
send WM_WINDOWPOSCHANGING.
2002-08-27 00:33:07 +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
Vincent Béron
e35580f4c9
Fixed some various comparisons wrt signedness.
2002-06-21 22:25:17 +00:00
Alexandre Julliard
a5755b10a7
Authors: Mike McCormack <mikem@codeweavers.com>, Jeremy White <jwhite@codeweavers.com>
...
Fixed memory leaks.
2002-06-13 23:54:55 +00:00