From 5dcdffdce44c30a367e4d9ba289d33bbe0c80376 Mon Sep 17 00:00:00 2001 From: Eric Koegel Date: Sun, 4 Dec 2011 20:52:22 +0300 Subject: [PATCH] Added a call to gdk_window_get_pointer in xfdesktop_icon_view_motion_notify so that it will continute to receive the needed event messages. Fixes bug 8192. --- src/xfdesktop-icon-view.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c index 0736006..18e63ea 100644 --- a/src/xfdesktop-icon-view.c +++ b/src/xfdesktop-icon-view.c @@ -939,6 +939,7 @@ xfdesktop_icon_view_motion_notify(GtkWidget *widget, { XfdesktopIconView *icon_view = XFDESKTOP_ICON_VIEW(user_data); gboolean ret = FALSE; + gint x,y; if(icon_view->priv->maybe_begin_drag && icon_view->priv->item_under_pointer @@ -1074,6 +1075,10 @@ xfdesktop_icon_view_motion_notify(GtkWidget *widget, } } + x = evt->x; + y = evt->y; + gdk_window_get_pointer(widget->window, &x, &y, NULL); + return ret; } -- 1.7.5.4