* XplatUIX11.cs: When adding a NotifyIcon to the system tray, mark its
Hwnd.mapped as true, since its handle is going to be mapped later by
the tray (not us), but we need to know it's alive and can later properly unmap
it.
Fixes part of #590093.
svn path=/trunk/mcs/; revision=155705
+2010-04-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+ * XplatUIX11.cs: When adding a NotifyIcon to the system tray, mark its
+ Hwnd.mapped as true, since its handle is going to be mapped later by
+ the tray (not us), but we need to know it's alive and can later properly unmap
+ it.
+ Fixes part of #590093.
+
2010-04-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeNodeCollection.cs: When adding/inserting/setting a new node call
hwnd.Queue.Paint.Remove (hwnd);
}
+ // We are going to be directly mapped by the system tray, so mark as mapped
+ // so we can later properly unmap it.
+ hwnd.mapped = true;
+
size_hints = new XSizeHints();
size_hints.flags = (IntPtr)(XSizeHintsFlags.PMinSize | XSizeHintsFlags.PMaxSize | XSizeHintsFlags.PBaseSize);