Author: toshok
Date: 2006-11-01 13:51:06 -0500 (Wed, 01 Nov 2006)
New Revision: 67227

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
Log:
        * XplatUIX11.cs: revert the #79790 fix, as the simple.
        XSetTransientForHint fix breaks paint .net's tool windows.  more
        work needed for that one.

2006-11-01  Chris Toshok  <[EMAIL PROTECTED]>



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-11-01 18:44:17 UTC (rev 67226)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-11-01 18:51:06 UTC (rev 67227)
@@ -1,5 +1,11 @@
 2006-11-01  Chris Toshok  <[EMAIL PROTECTED]>
 
+       * XplatUIX11.cs: revert the #79790 fix, as the simple.
+       XSetTransientForHint fix breaks paint .net's tool windows.  more
+       work needed for that one.
+
+2006-11-01  Chris Toshok  <[EMAIL PROTECTED]>
+
        * ScrollBar.cs: throw ArgumentException instead of Exception in
        LargeChange/SmallChange setters.  fixes unit tests.
 

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs    
2006-11-01 18:44:17 UTC (rev 67226)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs    
2006-11-01 18:51:06 UTC (rev 67227)
@@ -880,7 +880,7 @@
                                        XSetTransientForHint(DisplayHandle, 
hwnd.whole_window, hwnd.parent.whole_window);
                                } else if (!ExStyleSet (cp.ExStyle, 
WindowExStyles.WS_EX_APPWINDOW)) {
                                        /* this line keeps the window from 
showing up in gnome's taskbar */
-                                       XSetTransientForHint(DisplayHandle, 
hwnd.whole_window, FosterParent);
+                                       //XSetTransientForHint(DisplayHandle, 
hwnd.whole_window, FosterParent);
                                }
                                if ((client_rect.Width < 1) || 
(client_rect.Height < 1)) {
                                        XMoveResizeWindow(DisplayHandle, 
hwnd.client_window, -5, -5, 1, 1);
@@ -2376,7 +2376,7 @@
                                XSetTransientForHint (DisplayHandle, 
hwnd.whole_window, RootWindow);
                        } else if (!ExStyleSet (cp.ExStyle, 
WindowExStyles.WS_EX_APPWINDOW)) {
                                /* this line keeps the window from showing up 
in gnome's taskbar */
-                               XSetTransientForHint (DisplayHandle, 
hwnd.whole_window, FosterParent);
+                               //XSetTransientForHint (DisplayHandle, 
hwnd.whole_window, FosterParent);
                        }
 
                        SetWMStyles(hwnd, cp);

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

Reply via email to