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
2026-03-15 13:45:08 +02:00
committed by Enrico Weigelt
parent 639551d032
commit 3954f766af

View File

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