Browse Source
Merge pull request #10038 from ahopper/fix_space_key_input_on_x11
fix space key input on x11
pull/10050/head
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.X11/X11Window.cs
|
|
|
@ -731,7 +731,7 @@ namespace Avalonia.X11 |
|
|
|
void DispatchInput(RawInputEventArgs args) |
|
|
|
{ |
|
|
|
Input?.Invoke(args); |
|
|
|
if (!args.Handled && args is RawKeyEventArgsWithText text && !string.IsNullOrWhiteSpace(text.Text)) |
|
|
|
if (!args.Handled && args is RawKeyEventArgsWithText text && !string.IsNullOrEmpty(text.Text)) |
|
|
|
Input?.Invoke(new RawTextInputEventArgs(_keyboard, args.Timestamp, _inputRoot, text.Text)); |
|
|
|
} |
|
|
|
|
|
|
|
|