Author: toshok
Date: 2007-03-14 02:02:36 -0500 (Wed, 14 Mar 2007)
New Revision: 74236

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
Log:
2007-03-14  Chris Toshok  <[EMAIL PROTECTED]>

        * Form.cs: go ahead and remove the RecreateHandles that jpobst
        removed earlier and I had him add back it.  It turns out metacity
        *does* in fact handle the MOTIF_WM_HINTS property changing, it
        just doesn't redraw the window titlebar until you resize the
        window.  This also means we aren't recreating the entire window
        hierarchy on X when you change this property.  And it looks better
        on windows, too.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-03-14 06:47:51 UTC (rev 74235)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-03-14 07:02:36 UTC (rev 74236)
@@ -1,3 +1,13 @@
+2007-03-14  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * Form.cs: go ahead and remove the RecreateHandles that jpobst
+       removed earlier and I had him add back it.  It turns out metacity
+       *does* in fact handle the MOTIF_WM_HINTS property changing, it
+       just doesn't redraw the window titlebar until you resize the
+       window.  This also means we aren't recreating the entire window
+       hierarchy on X when you change this property.  And it looks better
+       on windows, too.
+
 2007-03-14  Carlos Alberto Cortez <[EMAIL PROTECTED]>
 
        * ListViewItem.cs:

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2007-03-14 06:47:51 UTC (rev 74235)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2007-03-14 07:02:36 UTC (rev 74236)
@@ -627,9 +627,6 @@
                        set {
                                if (maximize_box != value) {
                                        maximize_box = value;
-                                       if (IsHandleCreated) {
-                                               RecreateHandle();
-                                       }
                                        UpdateStyles();
                                }
                        }
@@ -814,9 +811,6 @@
                        set {
                                if (minimize_box != value) {
                                        minimize_box = value;
-                                       if (IsHandleCreated) {
-                                               RecreateHandle();
-                                       }
                                        UpdateStyles();
                                }
                        }

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

Reply via email to