Browse Source

[GTK3] Normal priority for timers

Nikita Tsukanov 8 years ago
parent
commit
b05f913e25
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Gtk/Avalonia.Gtk3/Interop/GlibTimeout.cs

+ 1 - 1
src/Gtk/Avalonia.Gtk3/Interop/GlibTimeout.cs

@@ -53,7 +53,7 @@ namespace Avalonia.Gtk3.Interop
             if (interval == 0)
                 throw new ArgumentException("Don't know how to create a timer with zero or negative interval");
             var timer = new Timer ();
-            GlibTimeout.Add(GlibPriority.FromDispatcherPriority(DispatcherPriority.Background), interval,
+            GlibTimeout.Add(GlibPriority.FromDispatcherPriority(DispatcherPriority.Normal), interval,
                 () =>
                 {
                     if (timer.Stopped)