mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user