mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
[x11] Add a comment about grabbing design
This commit is contained in:
parent
719525a4a1
commit
b45acf7974
1 changed files with 4 additions and 0 deletions
|
@ -1380,6 +1380,10 @@ in_x11_xi_setup_grabs (void)
|
|||
.modifiers = XIAnyModifier,
|
||||
};
|
||||
|
||||
// Grab mouse events on the app window so window manager actions (eg,
|
||||
// alt-middle-click) don't interfere. However, the keyboard is not grabbed
|
||||
// so the user always has a way to take control (assuming the window
|
||||
// manager provides such, but most do).
|
||||
XIGrabEnter (x_disp, dev, x_win, None, XIGrabModeAsync, XIGrabModeAsync,
|
||||
0, &evmask, 1, &modif);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue