mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +00:00
[vid] Disable X11 repeat control
For now, at least. It is a royal pain in the neck when doing a lot of development work and I'm not sure it's worthwhile on modern CPUs.
This commit is contained in:
parent
cad1eb42fd
commit
f523f6ba80
1 changed files with 6 additions and 6 deletions
|
@ -599,11 +599,11 @@ XLateKey (XKeyEvent * ev, int *k, int *u)
|
|||
static void
|
||||
x11_keydest_callback (keydest_t key_dest)
|
||||
{
|
||||
if (key_dest == key_game) {
|
||||
XAutoRepeatOff (x_disp);
|
||||
} else {
|
||||
XAutoRepeatOn (x_disp);
|
||||
}
|
||||
// if (key_dest == key_game) {
|
||||
// XAutoRepeatOff (x_disp);
|
||||
// } else {
|
||||
// XAutoRepeatOn (x_disp);
|
||||
// }
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -792,7 +792,7 @@ IN_LL_Shutdown (void)
|
|||
Sys_MaskPrintf (SYS_VID, "IN_LL_Shutdown\n");
|
||||
in_mouse_avail = 0;
|
||||
if (x_disp) {
|
||||
XAutoRepeatOn (x_disp);
|
||||
// XAutoRepeatOn (x_disp);
|
||||
dga_off ();
|
||||
}
|
||||
if (in_mouse_accel && !in_mouse_accel->int_val)
|
||||
|
|
Loading…
Reference in a new issue