fix a braino

This commit is contained in:
Bill Currie 2004-04-16 04:21:16 +00:00
parent 1f9d75a7c7
commit dd989c18ff
1 changed files with 2 additions and 2 deletions

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