bugfix for 2795321 found by egrath: Don't rely anymore on broken XkbSetDetectableAutoRepeat.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2428 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
969b6b786d
commit
da870385bd
|
@ -1,4 +1,7 @@
|
|||
Changes in 1.6
|
||||
|
||||
- bugfix for 2795321 found by egrath: Don't rely anymore on broken XkbSetDetectableAutoRepeat.
|
||||
|
||||
- bugfix: Use make_lower throughout for spritebank filenames (found and patched by Ion Dune)
|
||||
|
||||
- bugfix: CMountPointReader::openFile no longer returns true for empty files. Corresponding test added.
|
||||
|
|
|
@ -579,7 +579,8 @@ bool CIrrDeviceLinux::createWindow()
|
|||
XMapRaised(display, window);
|
||||
}
|
||||
WindowMinimized=false;
|
||||
XkbSetDetectableAutoRepeat(display, True, &AutorepeatSupport);
|
||||
// Currently broken in X, see Bug ID 2795321
|
||||
// XkbSetDetectableAutoRepeat(display, True, &AutorepeatSupport);
|
||||
|
||||
#ifdef _IRR_COMPILE_WITH_OPENGL_
|
||||
|
||||
|
@ -856,7 +857,7 @@ bool CIrrDeviceLinux::run()
|
|||
break;
|
||||
|
||||
case KeyRelease:
|
||||
if (0 == AutorepeatSupport)
|
||||
if (0 == AutorepeatSupport && (XPending( display ) > 0) )
|
||||
{
|
||||
// check for Autorepeat manually
|
||||
// We'll do the same as Windows does: Only send KeyPressed
|
||||
|
|
Loading…
Reference in New Issue