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 Enrico Weigelt, metux IT consult
parent 5a2ed59b3e
commit 142a8c8f24

View File

@@ -921,7 +921,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,