fix a braino

This commit is contained in:
Bill Currie 2004-04-16 04:21:16 +00:00
parent 1f9d75a7c7
commit dd989c18ff

View file

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