Browse Source

enable multitouch

pull/6361/head
Takoooooo 5 years ago
parent
commit
01b87381b7
  1. 2
      src/Avalonia.X11/X11Platform.cs
  2. 4
      src/Windows/Avalonia.Win32/Win32Platform.cs

2
src/Avalonia.X11/X11Platform.cs

@ -190,7 +190,7 @@ namespace Avalonia
"llvmpipe"
};
public string WmClass { get; set; } = Assembly.GetEntryAssembly()?.GetName()?.Name ?? "AvaloniaApplication";
public bool? EnableMultiTouch { get; set; }
public bool? EnableMultiTouch { get; set; } = true;
}
public static class AvaloniaX11PlatformExtensions
{

4
src/Windows/Avalonia.Win32/Win32Platform.cs

@ -40,8 +40,8 @@ namespace Avalonia
public bool UseDeferredRendering { get; set; } = true;
public bool? AllowEglInitialization { get; set; }
public bool? EnableMultitouch { get; set; }
public bool? EnableMultitouch { get; set; } = true;
public bool OverlayPopups { get; set; }
public bool UseWgl { get; set; }
public IList<GlVersion> WglProfiles { get; set; } = new List<GlVersion>

Loading…
Cancel
Save