[PATCH 1/4] user32: Don't forward EnableWindow to the window's thread.
Sebastian Lackner
sebastian at fds-team.de
Sun Mar 5 13:37:09 CST 2017
On 05.03.2017 20:21, Zebediah Figura wrote:
> Fixes https://bugs.winehq.org/show_bug.cgi?id=42568
>
> The only apparent use of this is to kill the focus and capture of
> the window if the thread doesn't own it. However, testing reveals
> that on Windows the focus isn't killed either, and the capture is
> handled by DefWindowProc, as already implemented in Wine.
>
> Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
> ---
> dlls/user32/message.c | 3 ---
> dlls/user32/spy.c | 1 -
> dlls/user32/tests/msg.c | 8 +++-----
> dlls/user32/user_private.h | 1 -
> dlls/user32/win.c | 12 ------------
> 5 files changed, 3 insertions(+), 22 deletions(-)
>
You will at least have to forward for other processes (see for example
the WIN_SetStyle implementation).
Best regards,
Sebastian
More information about the wine-devel
mailing list