Commit Graph

154 Commits

Author SHA1 Message Date
Jacek Caban d13a44e4aa user32: Don't use window's parent as an owner if WS_CHILD style is not set.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:01 +09:00
Alexandre Julliard 008f14f03f server: Directly return a structure in get_req_unicode_str().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:12 +09:00
Sebastian Lackner 6bfa3896fc server: Check winstation visibility in server to avoid race-conditions.
GetDesktopWindow incorrectly assumes, that the process window station is
still the same one, which was used earlier when changing the desktop.
By moving the visibility check to wineserver we can also avoid
wineserver roundtrip for invisible desktops.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:18:00 +09:00
Alexandre Julliard 7c538cddeb server: Post a notification to the desktop window when a top-level window is destroyed. 2015-03-27 20:40:36 +09:00
Piotr Caban 3f1bbdcae3 server: Send mouse hardware messages to thread owning top-most window.
Also don't limit mouse message scope to top-most window when message
comes from SendInput or window that generated the event is
minimized/transparent.
2014-10-17 17:51:52 +09:00
Piotr Caban de21941178 user32: Change SetForegroundWindow behavior on windows with parent and no WS_CHILD flag. 2014-03-27 16:18:05 +01:00
Alexandre Julliard f9c76be084 server: Trigger a repaint on layered windows the first time the attributes are set. 2013-09-14 13:53:08 +02:00
Alexandre Julliard bc602c3060 server: Return the window paint flags in the get_visible_region request. 2013-02-11 17:14:17 +01:00
Alexandre Julliard ca5746ad1a server: Also exclude the top-level client rectangle for windows that have a pixel format. 2013-02-11 17:08:19 +01:00
Alexandre Julliard 6c94d4466a server: Don't expose the desktop on window resizes. 2012-11-27 19:36:52 +01:00
Alexandre Julliard d2607ff6c9 user32: Force refreshing the non-client area when the window surface is changed. 2012-11-06 16:02:43 +01:00
Alexandre Julliard 29b39020f7 server: Fix propagation of the pixel format flag when the parent window is changed. 2012-10-17 18:00:55 +02:00
Alexandre Julliard d0c9d22371 server: Add a heuristic to avoid computing surface regions when no pixel format has been set. 2012-10-09 15:22:46 +02:00
Alexandre Julliard a52ebb158e server: Add a request to compute the clipping region of a window surface. 2012-10-09 15:22:27 +02:00
Alexandre Julliard 20768173ba server: Add flags in the set_window_pos request to inform the server about the window surface. 2012-10-09 15:22:14 +02:00
Alexandre Julliard 84fd7de0f7 server: Don't trigger repaints on position changes for layered windows. 2012-09-13 13:47:03 +02:00
Alexandre Julliard 43d465f86a server: Ignore color-keyed windows when updating the z-order. 2012-09-11 18:12:16 +02:00
Alexandre Julliard a76f60d14e server: Always repaint the whole non-client area if part of it is exposed. 2012-09-04 14:11:07 +02:00
Alexandre Julliard 044f790bcb winex11: Always paint to the whole window. 2012-08-30 19:02:27 +02:00
Alexandre Julliard 0816a04d92 server: Subtract the current update region from the valid rect when a window client area is changed. 2012-07-17 12:50:23 +02:00
Dmitry Timoshkov 94c817e311 server: Make sure that region and rectangle have the same origin before calling rect_in_region(). 2012-06-06 12:39:53 +02:00
Vincent Povirk 4c83138f72 server: Implement RegisterHotKey/UnregisterHotKey. 2011-06-21 14:51:08 +02:00
Alexandre Julliard 85358b10f3 server: Add a more general way of posting messages to the desktop window. 2011-04-05 13:36:56 +02:00
Alexandre Julliard c64c36f573 server: Store all desktop cursor information in a separate structure. 2011-03-31 19:54:22 +02:00
Alexandre Julliard 02e8174067 server: Store the cursor clip rectangle in the server. 2011-02-25 13:50:19 +01:00
Vladimir Panteleev 824c5089d2 user32: Update last active popup for all parents. 2010-10-18 19:47:58 +02:00
Alexandre Julliard fcd685977d server: Valid rects are in parent coordinates. 2010-10-07 15:58:10 +02:00
Alexandre Julliard d076dfa8e8 server: Update child window positions when resizing a mirrored parent. 2010-10-05 11:01:21 +02:00
Alexandre Julliard 6ee4521886 server: Pass the rectangle in client coordinates for update_window_zorder. 2010-09-27 21:12:49 +02:00
Alexandre Julliard d56ac06260 server: Mirror the window region for RTL windows in get/set_window_region and redraw_window. 2010-09-27 21:07:11 +02:00
Alexandre Julliard bc20ff50b6 server: Mirror the rectangles for RTL windows in set_window_pos. 2010-09-23 17:50:10 +02:00
Alexandre Julliard 3f026cafa5 user32: Add support for RTL window layouts in WIN_GetRectangles. 2010-09-22 20:28:20 +02:00
Alexandre Julliard 5702324b37 user32: Add support for RTL window layouts in MapWindowPoints. 2010-09-22 20:27:52 +02:00
Alexandre Julliard 7295b6746d user32: Add support for fetching window rectangles relative to various origins. 2010-09-07 14:31:30 +02:00
Dmitry Timoshkov dfe6ae58af user32: Protect from setting as a window owner one of its successors. 2010-08-04 17:35:22 +02:00
Dmitry Timoshkov 66e981ec8d server: Make layered windows transparent for mouse messages. 2010-06-11 14:16:03 +02:00
Alexandre Julliard adf9dcd6a7 user32: Fix Z-order handling of windows that have a top-most owner. 2010-02-19 13:05:08 +01:00
Alexandre Julliard 5dcf157b5b server: Hide a window before destroying it if it was still visible. 2009-06-03 11:29:15 +02:00
Alexandre Julliard f2c4e09e80 server: Make module handles always 64-bit. 2008-12-29 16:47:51 +01:00
Alexandre Julliard cb2788efaf server: Add a module_handle_t type to represent client-side module handles. 2008-12-29 16:41:44 +01:00
Alexandre Julliard 517b2f624d server: Windows properties are actually generic params, not handles. 2008-12-10 16:21:32 +01:00
Alexandre Julliard 31282b3f63 server: Define an lparam_t type for message parameters that can hold all sorts of data. 2008-12-10 16:01:50 +01:00
Alexandre Julliard d764107434 server: Make user handles ints instead of pointers. 2008-12-08 16:57:38 +01:00
Alexandre Julliard 05b4181cac server: Implemented the server side of Get/SetLayeredWindowAttributes. 2008-09-12 15:30:47 +02:00
Alexandre Julliard 0f9484a124 server: Set the visible rect in the set_window_pos request again.
This essentially reverts 2f69329a37.
We really need the visible rect to be set atomically with the rest of
the window position info.
2008-07-03 20:33:12 +02:00
Alexandre Julliard 42e2c99ce2 server: Fix a potential desktop reference leak. 2008-06-26 16:49:23 +02:00
Alexandre Julliard 6536868d07 user32: Make sure that IsWindowVisible returns FALSE for HWND_MESSAGE windows. 2008-06-25 15:49:44 +02:00
Alexandre Julliard 612c010431 user32: Add support for finding HWND_MESSAGE windows in FindWindowEx. 2008-06-25 15:30:22 +02:00
Alexandre Julliard 6b36e2131d server: Also return the top-level message window in the get_desktop_window request. 2008-06-25 14:44:06 +02:00
Alexandre Julliard 81e6edbda9 server: Add support for a top-level message parent window in parallel to the desktop window. 2008-06-25 14:43:39 +02:00