Alexandre Julliard
a88973a5f9
server: Store length of window text instead of null-terminating it.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-23 11:40:04 +01:00
Alexandre Julliard
dc6f39ac29
server: Use screen coordinates in the update_window_zorder request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-27 15:16:45 +02:00
Alexandre Julliard
87d1a4a329
server: Scale coordinates in get_window_children_from_point based on DPI awareness.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-27 13:32:57 +02:00
Alexandre Julliard
8698b600c6
server: Map region to the window DPI in redraw_region().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-24 20:12:05 +02:00
Alexandre Julliard
8de1b2c2ce
user32: Scale coordinates in MapWindowPoints() based on DPI awareness.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-24 20:12:05 +02:00
Alexandre Julliard
c5a6925676
user32: Scale coordinates in WIN_GetRectangles() based on DPI awareness.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-24 20:12:05 +02:00
Alexandre Julliard
766287ad6a
server: Return the surface rect as top clipping rect.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-11 15:45:11 +02:00
Alexandre Julliard
6ccb94392a
server: Clip visible region to the surface rectangle instead of the desktop.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-11 15:45:11 +02:00
Alexandre Julliard
85f81948de
server: Store the surface rectangle in the server.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-11 15:44:15 +02:00
Alexandre Julliard
b73a50a35e
user32: Update RedrawWindow behavior with explicit desktop window handle.
...
Newer Windows versions behave differently.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-06 20:51:26 +02:00
Alexandre Julliard
8cfac3b218
server: Don't clip update regions to the desktop window.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-05 19:08:34 +02:00
Alexandre Julliard
d3876ca84e
server: Add a couple of rectangle helper functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-05 19:08:34 +02:00
Alexandre Julliard
55f036e730
server: Don't convert the surface region to screen coordinates.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-05 17:50:28 +02:00
Alexandre Julliard
026309888c
user32: Only pass the new valid rectangle to the server.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-05 17:19:53 +02:00
Alexandre Julliard
376c218ad6
server: Removed unused visible rect from get_window_rectangles request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-24 19:12:03 +02:00
Alexandre Julliard
51e8d579bb
user32: Don't send cross-process message for GetWindowTextLength().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 21:58:02 +02:00
Alexandre Julliard
f7b5b8975c
user32: Store the window DPI in the server.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-17 14:10:23 +02:00
Alexandre Julliard
8a70b70f42
user32: Update the window DPI awareness in SetParent().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-15 16:27:57 +02:00
Alexandre Julliard
433788736b
user32: Store the window DPI awareness in the server.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-15 16:27:36 +02:00
Alexandre Julliard
bcbc84e214
user32: Don't exclude clipped children from the copied window bits since they may be up to date.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 10:41:43 +02:00
Alexandre Julliard
4f88a57ce7
server: Return the top surface window even when not using OpenGL.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-13 11:05:15 +02:00
Piotr Caban
6a0ffd70c7
server: Update all children upon SetLayeredWindowAttributes.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 20:02:54 +02:00
Alexandre Julliard
5962df3a1e
server: Cleanup clipboard information upon window destruction.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-24 00:16:43 +09:00
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