From dd989c18ff8bd51624be756eef5486b5dbedec67 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 16 Apr 2004 04:21:16 +0000 Subject: [PATCH] fix a braino --- libs/video/targets/in_x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/video/targets/in_x11.c b/libs/video/targets/in_x11.c index a53d6b0f7..baf65b767 100644 --- a/libs/video/targets/in_x11.c +++ b/libs/video/targets/in_x11.c @@ -622,13 +622,13 @@ IN_LL_Grab_Input (int grab) return; } input_grabbed = 1; - if (in_dga) + if (in_dga->int_val) dga_on (); } else { XUngrabPointer (x_disp, CurrentTime); XUngrabKeyboard (x_disp, CurrentTime); input_grabbed = 0; - if (in_dga) + if (in_dga->int_val) dga_off (); } }