fix dead keys on x11

This commit is contained in:
Eduardo Bart 2012-01-05 16:39:43 -02:00
parent 1b83126ed5
commit 0230540c07
1 changed files with 1 additions and 0 deletions

View File

@ -605,6 +605,7 @@ void X11Window::poll()
case KeyRelease: { case KeyRelease: {
KeySym keysym; KeySym keysym;
char buf[32]; char buf[32];
memset(buf, 0, 32);
int len; int len;
m_inputEvent.keyboardModifiers = 0; m_inputEvent.keyboardModifiers = 0;