Author: rolf
Date: 2007-12-04 05:29:42 -0500 (Tue, 04 Dec 2007)
New Revision: 90628

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
Log:
* System.Windows.Forms/XplatUIX11.cs: Make toolwindows' decorations
  show up without causing any tests to fail (hopefully).

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-12-04 09:08:14 UTC (rev 90627)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-12-04 10:29:42 UTC (rev 90628)
@@ -1,3 +1,8 @@
+2007-12-04  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
+       * XplatUIX11.cs: Make toolwindows' decorations show up without causing 
any
+         tests to fail (hopefully).
+
 2007-12-03  Jonathan Pobst  <[EMAIL PROTECTED]>
 
        * ToolStripDropDownMenu.cs: Fill in AffectedBounds when drawing

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs    
2007-12-04 09:08:14 UTC (rev 90627)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs    
2007-12-04 10:29:42 UTC (rev 90628)
@@ -783,7 +783,7 @@
                        if (form != null)
                                cp = form.GetCreateParams ();
 
-                       if (form != null && (form.window_manager == null)) {
+                       if (form != null && (form.window_manager == null && 
!cp.IsSet (WindowExStyles.WS_EX_TOOLWINDOW))) {
                                Hwnd.Borders borders = Hwnd.GetBorders (cp, 
null);
                                Rectangle xrect = rect;
 
@@ -818,7 +818,7 @@
                         * we're painting in only)
                         */
                        Form form = cp.control as Form;
-                       if (form != null && (form.window_manager == null)) {
+                       if (form != null && (form.window_manager == null && 
!cp.IsSet (WindowExStyles.WS_EX_TOOLWINDOW))) {
                                Hwnd.Borders borders = Hwnd.GetBorders (cp, 
null);
                                Size xrect = size;
 
@@ -843,7 +843,7 @@
                         */
                        Size rect = new Size (xWidth, xHeight);
                        Form form = cp.control as Form;
-                       if (form != null && (form.window_manager == null)) {
+                       if (form != null && (form.window_manager == null && 
!cp.IsSet (WindowExStyles.WS_EX_TOOLWINDOW))) {
                                Hwnd.Borders borders = Hwnd.GetBorders (cp, 
null);
                                Size xrect = rect;
 

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

Reply via email to