[f-spot] Add PointerMotionHintMask to fix mouse release.



commit b2f2408a8a3383cb514accb5b740becf2e4aac5d
Author: Ruben Vermeersch <ruben savanne be>
Date:   Fri May 21 00:53:53 2010 +0200

    Add PointerMotionHintMask to fix mouse release.
    
    As suggested by Vincent Pomey:
    
        "I've found a problem with button release events being delayed of
        several seconds after playing a lot with the mouse. This is fixed by
        adding EventMask.PointerMotionHintMask to the AddEvents call."

 src/Widgets/IconView.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Widgets/IconView.cs b/src/Widgets/IconView.cs
index 3985cf7..a934624 100644
--- a/src/Widgets/IconView.cs
+++ b/src/Widgets/IconView.cs
@@ -236,6 +236,7 @@ namespace FSpot.Widgets
 				(int) EventMask.KeyPressMask
 				| (int) EventMask.KeyReleaseMask
 				| (int) EventMask.PointerMotionMask
+				| (int) EventMask.PointerMotionHintMask
 				| (int) EventMask.ButtonPressMask
 				| (int) EventMask.ButtonReleaseMask);
 



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