mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 22:18:08 +02:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -678,6 +678,9 @@ winTopLevelWindowProc (HWND hwnd, UINT message,
|
|||
|
||||
/* Remove our keyboard hook if it is installed */
|
||||
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;
|
||||
|
||||
case WM_SYSDEADCHAR:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue