fix the shifting window problem in fullscreen (thanks, zinx)

This commit is contained in:
Bill Currie 2001-02-02 05:42:35 +00:00
parent e5b8b14303
commit 17e9aa044b
1 changed files with 3 additions and 0 deletions

View File

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