hw/xwin: Use revert-to-parent X focus mode in multiwindow WM

Use revert-to-parent X focus mode, as recommended in ICCCM 4.1.7

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/736>
This commit is contained in:
Jon Turney 2021-04-11 15:06:41 +01:00 committed by Marge Bot
parent db7b149b0c
commit 1afb9c6a7c

View file

@ -922,7 +922,7 @@ winMultiWindowWMProc(void *pArg)
}
if (!neverFocus)
xcb_set_input_focus(pWMInfo->conn, XCB_INPUT_FOCUS_POINTER_ROOT,
xcb_set_input_focus(pWMInfo->conn, XCB_INPUT_FOCUS_PARENT,
pNode->msg.iWindow, XCB_CURRENT_TIME);
if (IsWmProtocolAvailable(pWMInfo,