CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnetlib
Changes by:     Klaus Treichel <ktreichel>      08/07/12 10:52:39

Modified files:
        .              : ChangeLog 
        Xsharp         : TopLevelWindow.cs 

Log message:
        Fix move/resize loop.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnetlib/ChangeLog?cvsroot=dotgnu-pnet&r1=1.2533&r2=1.2534
http://cvs.savannah.gnu.org/viewcvs/pnetlib/Xsharp/TopLevelWindow.cs?cvsroot=dotgnu-pnet&r1=1.37&r2=1.38

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/ChangeLog,v
retrieving revision 1.2533
retrieving revision 1.2534
diff -u -b -r1.2533 -r1.2534
--- ChangeLog   7 May 2008 06:29:55 -0000       1.2533
+++ ChangeLog   12 Jul 2008 10:52:39 -0000      1.2534
@@ -1,3 +1,8 @@
+2008-07-12  Klaus Treichel  <[EMAIL PROTECTED]>
+
+       * Xsharp/TopLevelWindow.cs (DispatchEvent): Remove a duplicate 
move/resize
+       in handling the ConfigureNotify event that caused move/resize loops.
+
 2008-05-07  Heiko Weiss <[EMAIL PROTECTED]>
 
        * System.Windows.Forms/TextBox.cs: reverting to old version with some 
null 

Index: Xsharp/TopLevelWindow.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/Xsharp/TopLevelWindow.cs,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- Xsharp/TopLevelWindow.cs    18 Apr 2008 12:08:07 -0000      1.37
+++ Xsharp/TopLevelWindow.cs    12 Jul 2008 10:52:39 -0000      1.38
@@ -2264,14 +2264,6 @@
                                                        }
                                                }
                                                
-                                               if(xevent.xconfigure.x != x ||
-                                                  xevent.xconfigure.y != y ) 
-                                               {
-                                                               x = 
xevent.xconfigure.x;
-                                                               y = 
xevent.xconfigure.y;
-                                                               OnMoveResize(x, 
y, width, height);
-                                               }
-                                               
                                                if(xevent.send_event || 
!reparented)
                                                {
                                                        // The window manager 
moved us to a new position.


_______________________________________________
dotgnu-pnet-commits mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/dotgnu-pnet-commits

Reply via email to