[Xfce4-commits] [xfce/xfdesktop] 01/01: Single-click mode executes desktop items twice (Bug #14021)

noreply at xfce.org noreply at xfce.org
Thu May 24 21:42:57 CEST 2018


This is an automated email from the git hooks/post-receive script.

a   l   e   x       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfdesktop.

commit 47bfaecdfd5c6936d293c86ea0e68fbdadbcde5d
Author: Alexander Schwinn <acs82 at gmx.de>
Date:   Wed May 23 21:58:40 2018 +0200

    Single-click mode executes desktop items twice (Bug #14021)
---
 src/xfdesktop-icon-view.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index 2c3eb7e..3b16e71 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -1042,7 +1042,9 @@ xfdesktop_icon_view_button_release(GtkWidget *widget,
 
     gtk_grab_remove(widget);
 
-    return FALSE;
+    /* TRUE: stop other handlers from being invoked for the event. FALSE: propagate the event further. */
+    /* On FALSE this method will be called twice in single-click-mode (possibly a gtk3 bug)            */
+    return TRUE;
 }
 
 static gboolean

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list