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
Alexandre Julliard
d3cab1857a
Moved DC origin into device-specific structure.
...
Fixed handling of DC origin in X11 driver.
2002-06-10 22:52:47 +00:00
Alexandre Julliard
70e192b9cf
Removed CURSORICON_IconToCursor now that we support color cursors.
2002-06-02 21:29:23 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Alexandre Julliard
07439cd2d0
Removed dependencies on the internals of the region object.
...
Do not store the region type in the object, it's trivial to determine
from the rectangle count.
Rewrote a few routines to not depend on internal clipping or region
functions.
2002-05-25 22:16:12 +00:00
Alexandre Julliard
046dbf94f8
Never activate the window on SW_SHOWNOACTIVATE.
2002-04-24 22:26:34 +00:00
Huw D M Davies
0f31a34bc7
Don't check hwndInsertAfter if SWP_NOZORDER is set.
2002-04-24 22:20:11 +00:00
Jukka Heinonen
b7beb7278f
Added option SW_FORCEMINIMIZE to ShowWindow.
2002-03-12 19:18:48 +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
Paul Rupe
90d8354bab
Prevent "window belongs to another process" errors when running
...
multiple programs simultaneously.
2001-12-17 22:09:18 +00:00
Gerard Patel
e5fe7798fe
Fix the server paint count in SetWindowPos.
2001-11-13 22:02:20 +00:00
Gerard Patel
6c58cdce16
Repaired child window activation broken by previous change.
2001-11-07 23:19:42 +00:00
Alexandre Julliard
03e07b56e3
Window activation cleanups.
2001-11-06 22:28:18 +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
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
80593bf842
Removed next and child fields in the window structure and use
...
WIN_ListChildren instead.
2001-10-11 20:49:40 +00:00
Alexandre Julliard
556607a147
Store window parent as an HWND instead of a pointer.
2001-10-10 20:28:17 +00:00
Gerard Patel
94ce2a3303
Map a window if it is shown by a direct style change.
2001-10-03 18:44:02 +00:00
Alexandre Julliard
9c89290e89
Ignore ConfigueNotify size changes while the window is iconic.
2001-09-21 21:04:56 +00:00
Alexandre Julliard
d23a82bc86
Made all 16<->32 HWND conversions use explicit functions instead of
...
implicit type casts.
Moved a lot of 16-bit functions to the new wnd16.c file.
Changed DIALOGINFO structure handling to support 32-bit handles.
2001-09-19 20:37:04 +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
a2ae982978
Ignore size change on ConfigureNotify if window rect is empty and new
...
size is 1x1.
2001-09-10 23:27:57 +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
Alexandre Julliard
fa42aa81e4
Removed WIN_GetDesktop().
2001-08-21 17:13:55 +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
de42428f23
Removed a number of direct accesses to the WND structure, replacing
...
them by API calls.
2001-08-10 22:51:42 +00:00
Alexandre Julliard
bfb4a23aa9
Replaced MSG_InternalGetMessage calls by equivalent exported APIs.
2001-08-06 18:05:47 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Alexandre Julliard
f25487a10f
Removed unnecessary SetWindowPos call in SetWindowRgn.
2001-06-29 01:41:32 +00:00
Alexandre Julliard
ed15fc7de1
Moved ForceWindowRaise to the USER driver and removed the WND driver.
2001-06-29 01:26:41 +00:00
Alexandre Julliard
9446387170
Make the visible region empty for non-visible windows.
2001-06-26 20:09:19 +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
Alexandre Julliard
64264be49b
Clip parent client area when using the drawable from a higher level
...
parent.
2001-06-20 00:22:40 +00:00
Patrik Stridvall
8b216b3d02
Documentation ordinal fixes.
2001-06-19 18:20:47 +00:00
Alexandre Julliard
0cbfb24f83
Fixed one more bug in clip_children.
2001-06-19 03:47:11 +00:00
Alexandre Julliard
8f750d5c3a
clip_children: don't crash if child is not in list (can happen on
...
WM_NCCREATE).
2001-06-15 19:44:35 +00:00
Alexandre Julliard
7b25ed534b
Use the topmost parent that isn't clipping children as drawable,
...
to make sure parent siblings are not clipped.
2001-06-13 20:07:48 +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
3abeae8f4a
Moved window move/resize syscommand handling to the graphics driver.
2001-05-09 17:21:04 +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