Skip to content

Commit

Permalink
[X11] Don't convert the current time from long to int (#12941)
Browse files Browse the repository at this point in the history
  • Loading branch information
kekekeks authored Sep 19, 2023
1 parent 4074406 commit ae765e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.X11/X11PlatformThreading.cs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public void UpdateTimer(long? dueTimeInMs)
}


public long Now => (int)_clock.ElapsedMilliseconds;
public long Now => _clock.ElapsedMilliseconds;
public bool CanQueryPendingInput => true;

public bool HasPendingInput => _platform.EventGrouperDispatchQueue.HasJobs || XPending(_display) != 0;
Expand Down

0 comments on commit ae765e6

Please sign in to comment.