Xming: Notify X when the keyboard focus is lost to a pure Windows window in -multiwindow mode.
Fix internal WM to notify X when the keyboard focus is lost to a pure Windows window in -multiwindow mode. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
parent
6c3e7e4d05
commit
847a91ad2e
|
@ -678,6 +678,9 @@ winTopLevelWindowProc (HWND hwnd, UINT message,
|
||||||
|
|
||||||
/* Remove our keyboard hook if it is installed */
|
/* Remove our keyboard hook if it is installed */
|
||||||
winRemoveKeyboardHookLL ();
|
winRemoveKeyboardHookLL ();
|
||||||
|
if (!wParam)
|
||||||
|
/* Revert the X focus as well, but only if the Windows focus is going to another window */
|
||||||
|
DeleteWindowFromAnyEvents(pWin, FALSE);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case WM_SYSDEADCHAR:
|
case WM_SYSDEADCHAR:
|
||||||
|
|
Loading…
Reference in New Issue