[X11] Fixed KeyUp event arguments
KeyUp event was incorrectly fired with KeyDownEventArgs instead of KeyUpEventArgs. This is now fixed.
This commit is contained in:
parent
d985362058
commit
2f4161108d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue