Browse Source

Fixed ActivateTransientChildIfNeeded

Nikita Tsukanov 5 years ago
parent
commit
8bcafad8a3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Avalonia.X11/X11Window.cs

+ 2 - 2
src/Avalonia.X11/X11Window.cs

@@ -775,10 +775,10 @@ namespace Avalonia.X11
             if (_disabled)
             {
                 GotInputWhenDisabled?.Invoke();
-                return false;
+                return true;
             }
 
-            return true;
+            return false;
         }
 
         public void SetParent(IWindowImpl parent)