Commit Graph

83 Commits

Author SHA1 Message Date
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