]> git.xonotic.org Git - xonotic/darkplaces.git/commit
SDL2: combine SDL_KEYDOWN events directly with following SDL_TEXTINPUT events when...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 10 Jul 2017 12:43:27 +0000 (12:43 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Fri, 22 Sep 2017 17:23:24 +0000 (19:23 +0200)
commit7fecb975a28d5bfcafbc09090c8a604f4761302d
tree6e27c229bbbae16f7c37d20d59f3c8e9d4f03a5f
parent245dad3535829166a206e03cfb4d0c188a19975c
SDL2: combine SDL_KEYDOWN events directly with following SDL_TEXTINPUT events when possible.

This solves ` keypresses that open/close the console also typing in a character
"once and for all". The ability to type the ` character into the console is not
impaired by this as con_closeontoggleconsole's logic to by default ignore the
toggleconsole key when in the console but not at the beginning of the line
still applies.

From: terencehill <piuntn@gmail.com>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12335 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=50312b15cfb7bd198d25aef3e999effe67e67b4e
vid_sdl.c