Browse Source

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

pull/12958/head
Nikita Tsukanov 3 years ago
committed by GitHub
parent
commit
ae765e6022
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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