Commit Graph

109 Commits

Author SHA1 Message Date
Dmitry Timoshkov d5e1804c1b SetParent needs to clear 'managed' flag for former top level window. 2005-05-24 11:44:59 +00:00
Ulrich Czekalla a800dfe52e SetParent should not remove menu from non-child windows. 2005-04-26 08:16:17 +00:00
Alexandre Julliard 0b1d1d9752 Removed the no longer needed X11DRV_get_client_area_offset function. 2005-03-31 15:44:20 +00:00
Alexandre Julliard 5fd13261a0 Added X11DRV_get_pixmap and X11DRV_set_pixmap functions to avoid
direct accesses to the physBitmap field of the bitmap structure.
2005-03-27 18:30:51 +00:00
Alexandre Julliard 2fb7c8754a Moved DCE support to the X11 driver. 2005-03-25 16:47:04 +00:00
Alexandre Julliard 4d32a475a8 Replace the link_window request by a set_parent request since that is
all link_window is used for at this point.
Get rid of the WIN_LinkWindow/UnlinkWindow functions.
2005-03-25 10:38:56 +00:00
Robert Shearman caec6026e7 - Window styles passed to CreateWindowEx must the same as passed in
CREATESTRUCT for WM_CREATE/WM_NCCREATE.
- Fix cases where WS_EX_WINDOWEDGE style is applied.
- Tests for the above.
2005-03-23 10:26:15 +00:00
Hans Leidekker ac147fefc7 Fix some -Wsign-compare and -Wuninitialized warnings. 2005-03-22 21:17:34 +00:00
Maxime Bellengé ca6cb6b08b - Fix unmovable windows if the window style is set to WS_POPUP |
WS_VISIBLE and WS_EX_APPWINDOW.
- Fix metacity displaying decorations where it should not.
2005-03-08 18:58:25 +00:00
Dmitry Timoshkov ee5be57935 Avoid unnecessary window locking in X11DRV_DestroyWindow. 2005-03-07 17:13:53 +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
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
Dmitry Timoshkov 6dba0a7718 Add support for winevent hooks. 2005-02-03 16:40:20 +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
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
Rémi Assailly 81b13c4bb5 Added missing declarations. 2005-01-20 20:36:01 +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 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
Jeremy White 77502e7e62 Fix X11 event timing so that we correctly correlate X11 timing and
Wine timing and dynamically adjust it as we go.
2005-01-14 17:06:40 +00:00
Mike Hearn 9b98d3d3d8 Fix Xlib locking in create_desktop. 2004-12-27 17:03:15 +00:00
Jon Griffiths 32454a81a5 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-20 19:00:11 +00:00
Michael Stefaniuc 1493433e38 Missing HeapFree's + 1 LocalFree (found by smatch). 2004-12-14 11:38:50 +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
Robert Shearman bbdac5e475 GetWindowLong -> GetWindowLongPtr. 2004-09-22 19:14:08 +00:00
Alexandre Julliard 92acc58af6 Get rid of the WIN_SetRectangles export from user32. 2004-09-09 00:30:29 +00:00
Evan Deaubl 627423d10b Fix an ERR log in X11DRV_CreateWindow. 2004-08-26 18:11:29 +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
Dmitry Timoshkov 80422fb830 Make WM_GETMINMAXINFO default behaviour more like the Windows one. 2004-05-07 00:41:32 +00:00
Alexandre Julliard 7f8ad0a2bf Fixed unsigned comparison issue in previous change. 2004-04-28 00:31:21 +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 e1d413da84 Add a test case for children Z ordering at window creation time. 2004-04-12 22:05:53 +00:00
Dmitry Timoshkov 0ad1a6c6dd Setting WS_VISIBLE style does not require any special handling. 2004-04-02 20:12:38 +00:00
Huw Davies 10e05d02f2 Enable resizing if WS_THICKFRAME is set. 2004-03-02 20:54:41 +00:00
Ulrich Czekalla 455a22394a Implemented rendering synthesized BITMAP and DIB formats. 2004-02-20 05:43:00 +00:00
Alex Pasadyn d18c8ca78f Make full-screen popup windows managed. 2004-02-06 05:17:55 +00:00
Aric Stewart 9672b791ee Use X11 XIM callbacks to enable full IME support.
Correct some timing issues with XIM input.
Start to provide the framework for the MSIME messages.
2004-01-21 02:22:26 +00:00
Alexandre Julliard 446d8321a7 Store window icons in the window structure so that WM_SETICON can do
the right thing (based on a patch by Aric Stewart).
2003-12-31 23:51:52 +00:00
Jerry Jenkins 4e6fab5349 Fix managed state of some windows. 2003-12-13 00:05:53 +00:00
Mike Hearn 27d972f22a Map (WS_EX_TOOLWINDOW & WS_CAPTION) to _NET_WM_WINDOW_TYPE_UTILITY. 2003-12-04 21:54:13 +00:00
Alexandre Julliard 64c0e2ac96 Removed the remaining TSX calls. 2003-11-21 21:48:36 +00:00
Alexandre Julliard 3f6cb0cc3f Delay the creation of the X atoms until we really need them, to allow
getting more of them in one call.
Use XGetAtomNames to retrieve all the selection atoms at once.
2003-11-21 05:23:17 +00:00
Alexandre Julliard 2496c08b76 Get rid of a bunch of TSX functions. 2003-11-21 00:17:33 +00:00
Ulrich Czekalla 032bdc9f1d Initial implementation to support XDND protocol. 2003-11-20 22:09:51 +00:00
Alexandre Julliard d09c3289a2 Intern all the atoms we'll need in one step to avoid multiple server
round trips.
2003-11-20 04:24:18 +00:00
Dmitry Timoshkov c99317a8c9 Windows always sets cbtc.hwndInsertAfter to HWND_TOP. 2003-10-24 04:21:46 +00:00