Author: rolf
Date: 2006-11-28 13:28:34 -0500 (Tue, 28 Nov 2006)
New Revision: 68596

Modified:
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/ChangeLog
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/X11Hwnd.cs
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/XplatUIX11-new.cs
Log:
2006-11-28  Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
        
        * XplatUIX11-new.cs:
        * X11Hwnd.cs:
        - Added RequestAdditionalWM_NCMessages for windows to 
          opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.



Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/ChangeLog
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/ChangeLog
    2006-11-28 18:20:01 UTC (rev 68595)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/ChangeLog
    2006-11-28 18:28:34 UTC (rev 68596)
@@ -1,3 +1,10 @@
+2006-11-28  Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
+       
+       * XplatUIX11-new.cs:
+       * X11Hwnd.cs:
+       - Added RequestAdditionalWM_NCMessages for windows to 
+         opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
+
 2006-11-28  Chris Toshok  <[EMAIL PROTECTED]>
 
        * X11Display.cs (XEventThread): move to a polling strategy again,

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/X11Hwnd.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/X11Hwnd.cs
   2006-11-28 18:20:01 UTC (rev 68595)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/X11Hwnd.cs
   2006-11-28 18:28:34 UTC (rev 68596)
@@ -794,8 +794,15 @@
                        PerformNCCalc ();
                        display.SendMessage (Handle, Msg.WM_WINDOWPOSCHANGED, 
IntPtr.Zero, IntPtr.Zero);
                        InvalidateNC ();
+               }
+
+               [MonoTODO]
+               public void RequestAdditionalWM_NCMessages (bool hover, bool 
leave)
+               {
+                       // Missing messages won't crash anything so just don't 
generate them for the moment.
+                       // throw new NotImplementedException( );
                }
-
+               
                public void FrameExtents (out int left, out int top)
                {
                        IntPtr                  actual_atom;

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/XplatUIX11-new.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/XplatUIX11-new.cs
    2006-11-28 18:20:01 UTC (rev 68595)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/XplatUIX11-new.cs
    2006-11-28 18:28:34 UTC (rev 68596)
@@ -687,8 +687,17 @@
                {
                        display.Flush ();
                        ThreadQueue(Thread.CurrentThread).PostQuitState = true;
+               }
+
+               [MonoTODO]
+               internal override void RequestAdditionalWM_NCMessages (IntPtr 
handle, bool hover, bool leave)
+               {
+                       X11Hwnd hwnd = (X11Hwnd)Hwnd.ObjectFromHandle(handle);
+
+                       if (hwnd != null)
+                               hwnd.RequestAdditionalWM_NCMessages (hover, 
leave);
                }
-
+               
                internal override void RequestNCRecalc (IntPtr handle)
                {
                        X11Hwnd hwnd = (X11Hwnd)Hwnd.ObjectFromHandle(handle);

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

Reply via email to