Commit Graph

144 Commits

Author SHA1 Message Date
Detlef Riekenberg 75123e171a Remove unused include X11/IntrinsicP.h. 2005-12-01 11:11:35 +01:00
Vitaliy Margolen 93b63566a5 ShowWindows(SW_SHOWMAXIMIZED) should ignore WS_MAXIMIZE window
state. Change tests accordingly.
2005-11-30 12:43:50 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Alexandre Julliard 68b8a4ab69 Don't call SetWindowPos in ShowWindow if a parent window is not
visible, only toggle the WS_VISIBLE flag.
2005-11-09 10:35:48 +00:00
Dmitry Timoshkov 7da329548e Stricter check whether a window needs to be mapped on the screen. 2005-11-03 19:31:38 +00:00
Dmitry Timoshkov 9c559cf385 Make DrawMenuBar and SetMenu tests pass under Wine. 2005-09-28 15:13:10 +00:00
Dmitry Timoshkov 9628a781bf Use the event's width and height not the translated window rect to
recognize a zero sized window in the ConfigureNotify handler.
2005-09-19 15:25:53 +00:00
Dmitry Timoshkov 7647cffbdf Add a test for ShowWindow(SW_SHOWMAXIMIZED) called for a not visible
overlapped window, which shows that WM_SHOWWINDOW is not sent in that
case and that it should activate a window and bring it to top.
2005-09-12 10:09:40 +00:00
Frank Richter 5e82e0cb63 Invalidate DCEs when a window region is set. 2005-08-15 09:33:39 +00:00
Alexandre Julliard e419cb8869 Moved initialization of the desktop window in the graphics driver to a
separate CreateDesktopWindow entry point instead of overloading
CreateWindow.
2005-07-07 20:33:29 +00:00
Vitaliy Margolen fb99124f94 Deactivate active window in ShowWindow(,SW_HIDE). 2005-06-17 21:05:16 +00:00
Alexandre Julliard 2fb7c8754a Moved DCE support to the X11 driver. 2005-03-25 16:47:04 +00:00
Alexandre Julliard 23d9ac25b2 Avoid calling WIN_ListChildren from the graphics drivers. 2005-03-24 20:41:27 +00:00
Alexandre Julliard 039603c77d Don't maintain a client-side WND structure for the desktop window.
Made WIN_GetPtr return WND_DESKTOP in that case.
2005-03-24 15:18:50 +00:00
Alexandre Julliard 3b73e1277f Get rid of the remaining WIN_FindWndPtr calls. 2005-03-23 12:00:51 +00:00
Hans Leidekker ac147fefc7 Fix some -Wsign-compare and -Wuninitialized warnings. 2005-03-22 21:17:34 +00:00
Alexandre Julliard 5054c79880 Try to always keep the server window Z-order in sync with the X11 one
using a heuristic based on mouse and expose events.
2005-03-21 12:37:00 +00:00
Alexandre Julliard 44e6d5a48d Don't try to resync Z-order on ConfigureNotify events, this cannot
work right anyway.
2005-03-21 10:57:21 +00:00
Alexandre Julliard f75609087a Make the server know about the visible area of a window, which is the
window rect minus the caption and borders when they are handled by the
window manager.
2005-03-17 19:10:41 +00:00
Alexandre Julliard 4e47afb36f Compute the top clipping window directly on the server side. 2005-03-17 14:02:06 +00:00
Alexandre Julliard 94846a39dc Use a table of handlers to dispatch X events and get rid of the
special casing for DGA and tablet events.
Unify the declarations of all the event handlers.
2005-02-26 17:49:38 +00:00
Alexandre Julliard 548c973457 Allow the client rectangle to be of arbitrary size and dimensions,
regardless of the window rectangle.
2005-02-22 19:41:43 +00:00
Lauri Tulmin 373dc8909f Make minimized windows stay minimized. 2005-02-16 16:08:18 +00:00
Dmitry Timoshkov 39f960bdfa - Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +00:00
Alexandre Julliard e551555d4e Make the win data pointer only available in the thread that owns the
window.
2005-02-09 14:01:40 +00:00
Alexandre Julliard ae661da49c Properly compute the client area valid rects and pass them to the
server in set_window_pos to avoid invalidating areas that remain
valid.
2005-02-03 13:40:12 +00:00
Alexandre Julliard d7726c3a73 Store the "managed" flag as a window property instead of the
Wine-specific WS_EX_MANAGED style bit.
2005-02-01 18:53:59 +00:00
Alexandre Julliard f777d70a63 Only create an X window for top-level windows, not for child windows.
Get rid of the X client window too, it's no longer needed.
2005-01-31 16:34:07 +00:00
Alexandre Julliard d56ccaa7e1 Use an X context to associated the x11drv private window data to a
window handle instead of accessing the WND structure directly.
2005-01-28 17:25:50 +00:00
Rein Klazes 3ee5db6e17 Make ShowWindow(...,SW_SHOWNA) also work on already visible windows
with some conformance tests.
2005-01-25 11:21:20 +00:00
Alexandre Julliard 5ae51c47dd Tweak SetWindowPos flags handling to make a few more of the messaging
tests pass.
2005-01-21 17:06:07 +00:00
Alexandre Julliard f936428601 Make WIN_SetStyle more thread-safe by specifying the bits to change
instead of the new value.
2005-01-21 10:32:13 +00:00
Alexandre Julliard 6382ffae2a Replace a number of calls to WIN_FindWndPtr by WIN_GetPtr. 2005-01-20 20:07:42 +00:00
Alexandre Julliard 6758db9a0c Get rid of nonclient.h and of the corresponding exported functions in
user32.spec.
2005-01-17 20:27:11 +00:00
Alexandre Julliard fc5ce14592 Avoid most references to the internals of the WND structure by passing
around an x11drv_win_data pointer instead.
2005-01-17 19:17:47 +00:00
Alexandre Julliard b819f4cd5c Removed a couple of unnecessary calls to WIN_SuspendWndsLock. 2005-01-17 15:49:02 +00:00
Alexandre Julliard d820437b19 Removed unused ForceWindowRaise function. 2005-01-17 13:46:57 +00:00
Jon Griffiths 32454a81a5 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-20 19:00:11 +00:00
Alexandre Julliard 25b6493aee Added some sanity checks on window dimensions. 2004-12-09 16:58:00 +00:00
Alexandre Julliard 5defa49979 Moved update region handling to the server. 2004-12-07 17:31:53 +00:00
Dmitry Timoshkov 12f49fb9b1 ShowWindow activates only a being maximized child window, add a couple
of message tests for MDI child activation.
2004-12-06 16:38:19 +00:00
Alexandre Julliard 807fe07417 Don't bother to return partial region data in get_window_region and
get_visible_region, return STATUS_BUFFER_OVERFLOW instead.
2004-09-17 18:20:11 +00:00
Dmitry Timoshkov ca27b29f92 Remove a stray 'else' left by a previous patch. 2004-09-15 18:03:15 +00:00
Dmitry Timoshkov d304e4f80d Log flags for WM_WINDOWPOSCHANGING/WM_WINDOWPOSCHANGED messages, make
the tests pass on Win95/Win98/Win2000, fix some test failures under
Wine.
2004-09-13 18:03:09 +00:00
Alexandre Julliard 92acc58af6 Get rid of the WIN_SetRectangles export from user32. 2004-09-09 00:30:29 +00:00
Alexandre Julliard bf5470c00e We still need to look for the top parent that doesn't clip siblings in
GetDC because of the X window clipping.
2004-09-01 17:30:35 +00:00
Alexandre Julliard 8680ce1a0e In GetDC use the parent drawable when DCX_PARENTCLIP is set. 2004-08-24 18:49:34 +00:00
Alexandre Julliard 041c489a47 When possible, use the X window of the requested window in GetDC
instead of the parent to avoid trouble with OpenGL clipping.
2004-08-24 02:35:25 +00:00
Robert Shearman 553dc348b0 Allow the user to move managed windows by dragging on HTCAPTION
areas.
2004-08-18 23:47:48 +00:00
Krishna Murthy af5feb9bdd Allow resizing windows without thickframe style. 2004-08-17 22:28:02 +00:00