[Xfce4-commits] <xfdesktop:eric/bugzilla-patches> Change to POINTER_MOTION_HINT_MASK & use gdk_event_request_motions

Eric Koegel noreply at xfce.org
Sun Feb 12 17:38:01 CET 2012


Updating branch refs/heads/eric/bugzilla-patches
         to 1264428edda474f7c59befee1b0d779bc385fc14 (commit)
       from dc4f69b84425cc135c8a70ac04ea3e6ba318d02e (commit)

commit 1264428edda474f7c59befee1b0d779bc385fc14
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Sat Feb 11 21:22:26 2012 +0300

    Change to POINTER_MOTION_HINT_MASK & use gdk_event_request_motions

 src/xfdesktop-icon-view.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index 2be8970..071ca90 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -1101,6 +1101,8 @@ xfdesktop_icon_view_motion_notify(GtkWidget *widget,
         }
     }
     
+    gdk_event_request_motions(evt);
+
     return ret;
 }
 
@@ -1614,7 +1616,7 @@ xfdesktop_icon_view_realize(GtkWidget *widget)
     /* unfortunately GTK_NO_WINDOW widgets don't receive events, with the
      * exception of expose events. */
     gtk_widget_add_events(icon_view->priv->parent_window,
-                          GDK_POINTER_MOTION_MASK | GDK_KEY_PRESS_MASK
+                          GDK_POINTER_MOTION_HINT_MASK | GDK_KEY_PRESS_MASK
                           | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
                           | GDK_FOCUS_CHANGE_MASK | GDK_EXPOSURE_MASK
                           | GDK_LEAVE_NOTIFY_MASK);


More information about the Xfce4-commits mailing list