Temp fix for #1200: SystemInformation.DoubleClickTime caused segfault in libx11 on some debian systems

This commit is contained in:
Curtis S
2011-10-09 23:42:14 -06:00
committed by Chris Forbes
parent 2c415a8fd6
commit ea3ad0e378
2 changed files with 1 additions and 5 deletions

View File

@@ -9,7 +9,6 @@
#endregion
using System;
using System.Windows.Forms;
using OpenRA;
using OpenRA.FileFormats;
@@ -44,7 +43,7 @@ class TapHistory
static bool CloseEnough(Pair<DateTime, int2> a, Pair<DateTime, int2> b)
{
return a.First - b.First < TimeSpan.FromMilliseconds( SystemInformation.DoubleClickTime )
return a.First - b.First < TimeSpan.FromMilliseconds( 250 )
&& (a.Second - b.Second).Length < 4;
}