mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-21 19:32:30 +00:00
put that && vid_fullscreen->value where it belongs :)
This commit is contained in:
parent
5f12390209
commit
f0ece14dce
1 changed files with 1 additions and 1 deletions
|
@ -565,7 +565,7 @@ void VID_Init(unsigned char *palette)
|
|||
visinfo->visual, mask, &attr);
|
||||
XMapWindow(x_disp, x_win);
|
||||
#ifdef HAS_VIDMODE
|
||||
if (hasvidmode) {
|
||||
if (hasvidmode && vid_fullscreen->value) {
|
||||
XRaiseWindow(x_disp, x_win);
|
||||
XGrabKeyboard(x_disp, x_win, 1, GrabModeAsync, GrabModeAsync,
|
||||
CurrentTime);
|
||||
|
|
Loading…
Reference in a new issue