Author: jackson
Date: 2005-11-23 16:48:58 -0500 (Wed, 23 Nov 2005)
New Revision: 53417

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiChildContext.cs
Log:

        * MdiChildContext.cs: Don't size windows if they are
          maximized.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-11-23 21:40:53 UTC (rev 53416)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-11-23 21:48:58 UTC (rev 53417)
@@ -1,3 +1,7 @@
+2005-11-23  Jackson Harper  <[EMAIL PROTECTED]>
+
+       * MdiChildContext.cs: Don't size windows if they are maximized.
+
 2005-11-23  Mike Kestner  <[EMAIL PROTECTED]>
 
        * ContextMenu.cs: use MenuTracker.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiChildContext.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiChildContext.cs   
    2005-11-23 21:40:53 UTC (rev 53416)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiChildContext.cs   
    2005-11-23 21:48:58 UTC (rev 53417)
@@ -241,6 +241,9 @@
                                }
                        }
 
+                       if (maximized)
+                               return;
+
                        state = State.Moving;                        
                        form.Capture = true;
                }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to