mirror of
https://git.code.sf.net/p/quake/nuq
synced 2025-03-13 06:12:25 +00:00
in_x11.c:
turn off autorepeat on startup vid_x11.c: remove autorepeat controll. wrong place for it.
This commit is contained in:
parent
a18c68fdad
commit
20ff12319a
2 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue