summaryrefslogtreecommitdiff
path: root/src/xfdesktop-icon-view.c
diff options
context:
space:
mode:
authorAlexander Schwinn <acs82@gmx.de>2018-05-23 21:58:40 +0200
committerAlexander Schwinn <acs82@gmx.de>2018-05-24 21:36:22 +0200
commit47bfaecdfd5c6936d293c86ea0e68fbdadbcde5d (patch)
treee5f76c31300ef4b9c00f1518f3b1fc76eb0f34f2 /src/xfdesktop-icon-view.c
parent63705967b48287b57b32feea1c885a5e8223c125 (diff)
downloadxfdesktop-47bfaecdfd5c6936d293c86ea0e68fbdadbcde5d.tar.gz
Single-click mode executes desktop items twice (Bug #14021)
Diffstat (limited to 'src/xfdesktop-icon-view.c')
-rw-r--r--src/xfdesktop-icon-view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index 2c3eb7ec..3b16e713 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