Skip to content

Commit

Permalink
9.12-3 patchset
Browse files Browse the repository at this point in the history
rebase, attempt to improve audio stability, and add wayland tablet input fix (cursor-clip-hack.patch)
  • Loading branch information
whrvt committed Jul 6, 2024
1 parent fc9560f commit dd4814b
Show file tree
Hide file tree
Showing 35 changed files with 1,333 additions and 2,033 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ index caa3b3aa323..193e7212e02 100644
--- a/dlls/win32u/window.c
+++ b/dlls/win32u/window.c
@@ -1793,6 +1793,7 @@ static BOOL apply_window_pos( HWND hwnd, HWND insert_after, UINT swp_flags,
BOOL ret, needs_surface, needs_update = FALSE;
RECT surface_rect, visible_rect = *window_rect, old_visible_rect, old_window_rect, old_client_rect, extra_rects[3];
struct window_surface *old_surface, *new_surface;
BOOL ret, needs_update = FALSE;
RECT old_visible_rect, old_window_rect, old_client_rect, extra_rects[3];
struct window_surface *old_surface;
+ UINT monitor_dpi;

if (!user_driver->pWindowPosChanging( hwnd, swp_flags, window_rect, client_rect, &visible_rect )) needs_surface = FALSE;
else if (swp_flags & SWP_HIDEWINDOW) needs_surface = FALSE;
get_window_rects( hwnd, COORDS_SCREEN, &old_window_rect, NULL, get_thread_dpi() );
if (IsRectEmpty( &valid_rects[0] )) valid_rects = NULL;
@@ -1834,11 +1835,14 @@ static BOOL apply_window_pos( HWND hwnd, HWND insert_after, UINT swp_flags,
valid_rects = NULL;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ index d1f49ca3ed9..049773fe7e3 100644
HWND orig = msg->hwnd;
+ UINT dpi = get_thread_dpi();

- msg->hwnd = window_from_point( 0, msg->pt, &hittest );
+ msg->hwnd = window_from_point( 0, msg->pt, &hittest, dpi );
- msg->hwnd = window_from_point( msg->hwnd, msg->pt, &hittest );
+ msg->hwnd = window_from_point( msg->hwnd, msg->pt, &hittest, dpi );
if (!msg->hwnd) /* As a heuristic, try the next window if it's the owner of orig */
{
HWND next = get_window_relative( orig, GW_HWNDNEXT );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ index 049773fe7e3..9117979422f 100644
HWND orig = msg->hwnd;
- UINT dpi = get_thread_dpi();

- msg->hwnd = window_from_point( 0, msg->pt, &hittest, dpi );
+ msg->hwnd = window_from_point( 0, msg->pt, &hittest, 0 /* per-monitor DPI */ );
- msg->hwnd = window_from_point( msg->hwnd, msg->pt, &hittest, dpi );
+ msg->hwnd = window_from_point( msg->hwnd, msg->pt, &hittest, 0 /* per-monitor DPI */ );
if (!msg->hwnd) /* As a heuristic, try the next window if it's the owner of orig */
{
HWND next = get_window_relative( orig, GW_HWNDNEXT );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ index 9117979422f..7ff38a923fa 100644
- {
- HWND orig = msg->hwnd;
-
- msg->hwnd = window_from_point( 0, msg->pt, &hittest, 0 /* per-monitor DPI */ );
- msg->hwnd = window_from_point( msg->hwnd, msg->pt, &hittest, 0 /* per-monitor DPI */ );
- if (!msg->hwnd) /* As a heuristic, try the next window if it's the owner of orig */
- {
- HWND next = get_window_relative( orig, GW_HWNDNEXT );
Expand Down
Loading

0 comments on commit dd4814b

Please sign in to comment.