[X11] Fixed KeyUp event arguments

KeyUp event was incorrectly fired with KeyDownEventArgs instead of KeyUpEventArgs. This is now fixed.
This commit is contained in:
thefiddler 2014-02-18 00:30:32 +01:00
parent d985362058
commit 2f4161108d

View file

@ -866,7 +866,7 @@ namespace OpenTK.Platform.X11
KeyUpEventArgs.Key = key;
KeyUpEventArgs.ScanCode = (uint)e.KeyEvent.keycode;
KeyUpEventArgs.Modifiers = keyboard.GetModifiers();
KeyUp(this, KeyDownEventArgs);
KeyUp(this, KeyUpEventArgs);
}
if (pressed)