Browse Source
Merge pull request #6868 from AvaloniaUI/fixes/focus-on-click-only-button-down
[win32] only take focus on button down events.
pull/7003/head
Dan Walmsley
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs
|
|
|
@ -193,7 +193,6 @@ namespace Avalonia.Win32 |
|
|
|
case WindowsMessage.WM_MBUTTONUP: |
|
|
|
case WindowsMessage.WM_XBUTTONUP: |
|
|
|
{ |
|
|
|
shouldTakeFocus = ShouldTakeFocusOnClick; |
|
|
|
if (ShouldIgnoreTouchEmulatedMessage()) |
|
|
|
{ |
|
|
|
break; |
|
|
|
|