in_x11.c:

turn off autorepeat on startup
vid_x11.c:
	remove autorepeat controll. wrong place for it.
This commit is contained in:
Bill Currie 2000-09-24 03:08:28 +00:00
parent a18c68fdad
commit 20ff12319a
2 changed files with 2 additions and 1 deletions

View file

@ -427,6 +427,8 @@ IN_Init(void)
_windowed_mouse = Cvar_Get ("_windowed_mouse","0",CVAR_ARCHIVE,"None");
m_filter = Cvar_Get ("m_filter","0",CVAR_ARCHIVE,"None");
XAutoRepeatOff(x_disp);
if (COM_CheckParm("-nomouse")) return 1;
#ifdef HAVE_DGA
in_dgamouse = Cvar_Get ("in_dgamouse", "0", CVAR_ROM,

View file

@ -684,7 +684,6 @@ VID_Shutdown(void)
Sys_Printf("VID_Shutdown\n");
if (x_disp) {
x11_restore_vidmode();
XAutoRepeatOn(x_disp);
x11_close_display();
x_disp = 0;
}