put that && vid_fullscreen->value where it belongs :)

This commit is contained in:
Bill Currie 2000-05-02 12:03:44 +00:00
parent 5f12390209
commit f0ece14dce

View file

@ -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);