mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-23 23:30:02 +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:
committed by
Enrico Weigelt
parent
639551d032
commit
3954f766af
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user