From ae765e6022d4f097dd4b5dd6612f7210aa867e89 Mon Sep 17 00:00:00 2001 From: Nikita Tsukanov Date: Wed, 20 Sep 2023 00:07:36 +0300 Subject: [PATCH] [X11] Don't convert the current time from long to int (#12941) --- src/Avalonia.X11/X11PlatformThreading.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.X11/X11PlatformThreading.cs b/src/Avalonia.X11/X11PlatformThreading.cs index de0e3bee5dd..de494eb059b 100644 --- a/src/Avalonia.X11/X11PlatformThreading.cs +++ b/src/Avalonia.X11/X11PlatformThreading.cs @@ -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;