Rebase against 712c547e0869b0caf797694137e36bacea614aa6.

This commit is contained in:
Alistair Leslie-Hughes
2022-06-16 09:05:11 +10:00
parent 4e4376778f
commit 3d9f724967
8 changed files with 42 additions and 221 deletions

View File

@@ -1,4 +1,4 @@
From 0c9b32515c444dcd3fb76473c80adcc368f9e8fd Mon Sep 17 00:00:00 2001
From 0cfe71d332e4ed936cacff341f77cb05e99e9c3c Mon Sep 17 00:00:00 2001
From: Dmitry Timoshkov <dmitry@baikal.ru>
Date: Tue, 27 Dec 2016 17:45:05 +0800
Subject: [PATCH] winex11.drv: Send WM_WINDOWPOSCHANGING/WM_WINDOWPOSCHANGED
@@ -9,10 +9,10 @@ Subject: [PATCH] winex11.drv: Send WM_WINDOWPOSCHANGING/WM_WINDOWPOSCHANGED
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c
index 9a19eb9b446..d518c81d3e9 100644
index 99f3f04e00f..ec41cbbd2ac 100644
--- a/dlls/winex11.drv/event.c
+++ b/dlls/winex11.drv/event.c
@@ -592,16 +592,27 @@ static void set_input_focus( struct x11drv_win_data *data )
@@ -604,16 +604,27 @@ static void set_input_focus( struct x11drv_win_data *data )
*/
static void set_focus( Display *display, HWND hwnd, Time time )
{
@@ -27,7 +27,7 @@ index 9a19eb9b446..d518c81d3e9 100644
x11drv_thread_data()->active_window = hwnd;
TRACE( "setting foreground window to %p\n", hwnd );
NtUserSetForegroundWindow( hwnd, FALSE );
NtUserSetForegroundWindow( hwnd );
+ /* Some applications expect that a being deactivated topmost window
+ * receives the WM_WINDOWPOSCHANGING/WM_WINDOWPOSCHANGED messages,
@@ -42,5 +42,5 @@ index 9a19eb9b446..d518c81d3e9 100644
NtUserGetGUIThreadInfo( 0, &threadinfo );
focus = threadinfo.hwndFocus;
--
2.34.1
2.35.1