mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 22:51:37 +00:00
Maybe gl_vidlinuxglx.c works now ? :)
if it doesn't sorry, if it does.. maybe everyone will get off my case ;) -- Eric Windisch
This commit is contained in:
parent
8862780003
commit
8dec8b28ff
1 changed files with 3 additions and 8 deletions
|
@ -838,17 +838,12 @@ void VID_ExtraOptionCmd(int option_cursor)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAS_DGA
|
#ifdef HAS_DGA
|
||||||
XF86DGADirectVideo(dpy, DefaultScreen(dpy), vid_glx_mode.value);
|
|
||||||
dgamouse = vid_glx_mode.value;
|
|
||||||
|
|
||||||
if(vid_glx_mode.value)
|
if(vid_glx_mode.value)
|
||||||
{
|
{
|
||||||
XGrabPointer(dpy, CurrentTime);
|
install_grabs();
|
||||||
XGrabKeyboard(dpy, CurrentTime);
|
|
||||||
} else {
|
} else {
|
||||||
XUngrabPointer(dpy, CurrentTime);
|
uninstall_grabs();
|
||||||
XUngrabKeyboard(dpy, CurrentTime);
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue