Skip to content

Commit

Permalink
WPF Example - Disable Stylus and Touch Support
Browse files Browse the repository at this point in the history
  • Loading branch information
amaitland committed Sep 6, 2019
1 parent c311a58 commit 2d20309
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CefSharp.Wpf.Example/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
System.AppContext.SetSwitch("Switch.System.Windows.Input.Stylus.DisableStylusAndTouchSupport", true);

#if DEBUG
if (!System.Diagnostics.Debugger.IsAttached)
{
Expand Down Expand Up @@ -43,4 +45,4 @@ protected override void OnStartup(StartupEventArgs e)
base.OnStartup(e);
}
}
}
}

0 comments on commit 2d20309

Please sign in to comment.