Author: toshok
Date: 2006-10-30 18:41:09 -0500 (Mon, 30 Oct 2006)
New Revision: 67163

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 (SetWMStyles): reinstate the XSetTransientForHint
        for non-WS_EX_APPWINDOW windows.  This is what keeps them from
        showing up in the gnome taskbar.  Fixes bug #79790.

2006-10-30  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-10-30 23:35:21 UTC (rev 67162)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-10-30 23:41:09 UTC (rev 67163)
@@ -1,5 +1,11 @@
 2006-10-30  Chris Toshok  <[EMAIL PROTECTED]>
 
+       * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
+       for non-WS_EX_APPWINDOW windows.  This is what keeps them from
+       showing up in the gnome taskbar.  Fixes bug #79790.
+
+2006-10-30  Chris Toshok  <[EMAIL PROTECTED]>
+
        * ApplicationContext.cs: guard against a NRE.
 
        * Application.cs: null out the old MainForm for the context, so we

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs    
2006-10-30 23:35:21 UTC (rev 67162)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs    
2006-10-30 23:41:09 UTC (rev 67163)
@@ -879,7 +879,8 @@
 
                                        XSetTransientForHint(DisplayHandle, 
hwnd.whole_window, hwnd.parent.whole_window);
                                } else if (!ExStyleSet (cp.ExStyle, 
WindowExStyles.WS_EX_APPWINDOW)) {
-//                                     XSetTransientForHint(DisplayHandle, 
hwnd.whole_window, FosterParent);
+                                       /* this line keeps the window from 
showing up in gnome's taskbar */
+                                       XSetTransientForHint(DisplayHandle, 
hwnd.whole_window, FosterParent);
                                }
                                if ((client_rect.Width < 1) || 
(client_rect.Height < 1)) {
                                        XMoveResizeWindow(DisplayHandle, 
hwnd.client_window, -5, -5, 1, 1);

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

Reply via email to