* XplatUIX11.cs: Give a max idle time of one second, this
authorJackson Harper <jackson@novell.com>
Fri, 24 Mar 2006 21:22:20 +0000 (21:22 -0000)
committerJackson Harper <jackson@novell.com>
Fri, 24 Mar 2006 21:22:20 +0000 (21:22 -0000)
        * matches
        MS and forces an Idle event every second when there are no other
        events in the queue.

svn path=/trunk/mcs/; revision=58495

mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs

index b774f075e15168a0338ed5f15f6b721803737167..7d71cdb68903e09add8f3bf7fc3db2b6391fda70 100644 (file)
@@ -1,3 +1,9 @@
+2006-03-24  Jackson Harper  <jackson@ximian.com>
+
+       * XplatUIX11.cs: Give a max idle time of one second, this matches
+       MS and forces an Idle event every second when there are no other
+       events in the queue.
+
 2006-03-24  Mike Kestner  <mkestner@novell.com>
 
        * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
index 36b18d3565594c005de51c8749b2f1e3eb36fb5d..804500c688bb419b3ab6e23efd1ed8cd870dc0de 100644 (file)
@@ -1039,6 +1039,8 @@ namespace System.Windows.Forms {
                                timeout = Timer.Minimum;
                        }
 
+                       if (timeout > 1000)
+                               timeout = 1000;
                        return timeout;
                }