Commit Graph

126 Commits

Author SHA1 Message Date
Alexandre Julliard 57b1ea618f x11drv: Remove one more XSync call. 2006-04-04 20:47:34 +02:00
Alexandre Julliard e34ccb4c1c x11drv: Get rid of XSync calls on window creation and destruction. 2006-04-01 14:22:34 +02:00
Alexandre Julliard 3217e534fe x11drv: Replace the SWP_WINE_NOHOSTMOVE flag by a lock count. 2006-03-29 18:27:01 +02:00
Alexandre Julliard bec4990cab x11drv: Reinitialize the display settings when using a desktop window. 2006-03-28 16:55:03 +02:00
Alexandre Julliard c44410d1e3 x11drv: Avoid setting text or WM hints of the X root window. 2006-03-28 12:21:37 +02:00
Alexandre Julliard db6608ac9f x11drv: Moved desktop mode handling to the explorer process.
Per-application desktop mode settings are no longer supported.  Apps
can be launched in a specific desktop window by using:

  explorer /desktop=name[,widthxheight] app.exe [args]

If the named desktop already exists the app is launched inside it. The
default desktop is cleverly named "default".
2006-03-27 22:43:03 +02:00
Alexandre Julliard ba1517fa80 x11drv: Allow setting WM hints for the desktop window. 2006-03-27 22:16:04 +02:00
Alexandre Julliard 6bb18e24e9 x11drv: Get rid of the using_wine_desktop flag. 2006-03-27 15:33:43 +02:00
Alexandre Julliard 6d5f5447ea x11drv: Make sure to never manipulate the root window, even if we own
the desktop window.
2006-03-06 21:02:59 +01:00
Vitaliy Margolen aae7632409 CreateWindow should not activate invisible minimized or maximized
windows.
Add several tests to show the correct behavior.
2005-11-30 12:32:22 +01:00
Todd Mokros 88ac4b9650 Fix a focus stealing bug introduced by the managed flag changes. 2005-08-22 09:14:21 +00:00
Alexandre Julliard 2431a64419 There's no need to update the event mask in X11DRV_sync_window_style,
it never changes.
2005-07-27 15:22:58 +00:00
Alexandre Julliard 6655fed5a6 Don't set win gravity, the default should work fine. 2005-07-19 11:43:38 +00:00
Alexandre Julliard 2997fc51a4 Fixed a few prototypes in the USER driver. 2005-07-18 13:20:18 +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
Alexandre Julliard af50ad67ad Moved most initializations out of the create_desktop function and into
process_attach.
2005-07-07 17:30:57 +00:00
Alexandre Julliard c7dbffca96 Set the class resource name to the name of the main binary (suggested
by Rasterman).
2005-07-01 16:16:00 +00:00
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