[PATCH resend 2/2] winex11.drv, winemac.drv: Don't send WM_CANCELMODE on focus loss.
Dmitry Timoshkov
dmitry at baikal.ru
Tue Jan 30 20:56:27 CST 2018
Zebediah Figura <z.figura12 at gmail.com> wrote:
> --- a/dlls/winex11.drv/event.c
> +++ b/dlls/winex11.drv/event.c
> @@ -804,7 +804,6 @@ static BOOL X11DRV_FocusIn( HWND hwnd, XEvent *xev )
> return;
> }
> if (hwnd != GetForegroundWindow()) return;
> - SendMessageW( hwnd, WM_CANCELMODE, 0, 0 );
>
> /* don't reset the foreground window, if the window which is
> getting the focus is a Wine window */
Menu modal loop depends on this, and probably will be broken if
WM_CANCELMODE no longer sent.
--
Dmitry.
More information about the wine-devel
mailing list