From 8dec8b28fff4604310c7ef75e9a096ef7e7dc22e Mon Sep 17 00:00:00 2001 From: Eric Windisch Date: Sun, 9 Jan 2000 05:36:41 +0000 Subject: [PATCH] Maybe gl_vidlinuxglx.c works now ? :) if it doesn't sorry, if it does.. maybe everyone will get off my case ;) -- Eric Windisch --- common/gl_vidlinuxglx.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/common/gl_vidlinuxglx.c b/common/gl_vidlinuxglx.c index 88240c3..69cd61b 100644 --- a/common/gl_vidlinuxglx.c +++ b/common/gl_vidlinuxglx.c @@ -838,17 +838,12 @@ void VID_ExtraOptionCmd(int option_cursor) #endif #ifdef HAS_DGA - XF86DGADirectVideo(dpy, DefaultScreen(dpy), vid_glx_mode.value); - dgamouse = vid_glx_mode.value; - if(vid_glx_mode.value) { - XGrabPointer(dpy, CurrentTime); - XGrabKeyboard(dpy, CurrentTime); + install_grabs(); } else { - XUngrabPointer(dpy, CurrentTime); - XUngrabKeyboard(dpy, CurrentTime); - + uninstall_grabs(); + } break; #endif