mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-01-22 07:51:20 +00:00
fix the shifting window problem in fullscreen (thanks, zinx)
This commit is contained in:
parent
e5b8b14303
commit
17e9aa044b
1 changed files with 3 additions and 0 deletions
|
@ -365,6 +365,9 @@ x11_create_window (int width, int height)
|
|||
}
|
||||
|
||||
XMapWindow (x_disp, x_win);
|
||||
if (vid_fullscreen->int_val) {
|
||||
XGrabPointer (x_disp, x_win, True, 0, GrabModeAsync, GrabModeAsync, x_win, None, CurrentTime);
|
||||
}
|
||||
XRaiseWindow (x_disp, x_win);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue