[banshee] Reset the mouse cursor when it leaves the ListView (BGO #580053)



commit 448ad4c9fbeeaa6793adb3c1568f40b6149874b4
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date:   Fri Apr 24 10:35:33 2009 +1000

    Reset the mouse cursor when it leaves the ListView (BGO #580053)
---
 .../ListView/ListView_Interaction.cs               |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs b/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs
index 92a82c7..24d5f8f 100644
--- a/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs
+++ b/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs
@@ -646,6 +646,7 @@ namespace Hyena.Data.Gui
         protected override bool OnLeaveNotifyEvent (Gdk.EventCrossing evnt)
         {
             if (evnt.Mode == Gdk.CrossingMode.Normal) {
+                GdkWindow.Cursor = null;
                 ProxyEventToCell (evnt, false);
             }
             return base.OnLeaveNotifyEvent (evnt);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]