Browse Source

[X11] Don't convert the current time from long to int (#12941)

release/11.0.5-rc1
Nikita Tsukanov 2 years ago
committed by Steven Kirk
parent
commit
2d45ed8a61
  1. 2
      src/Avalonia.X11/X11PlatformThreading.cs

2
src/Avalonia.X11/X11PlatformThreading.cs

@ -235,7 +235,7 @@ namespace Avalonia.X11
}
public long Now => (int)_clock.ElapsedMilliseconds;
public long Now => _clock.ElapsedMilliseconds;
public bool CanQueryPendingInput => true;
public bool HasPendingInput => _platform.EventGrouperDispatchQueue.HasJobs || XPending(_display) != 0;

Loading…
Cancel
Save