From 51b9c3f6fb45b232d13b998f6781a0110b0b55b9 Mon Sep 17 00:00:00 2001 From: Theo Linkspfeifer Date: Mon, 30 Mar 2020 12:06:00 +0200 Subject: [PATCH] Unselect all items after single click activation --- src/xfdesktop-icon-view.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c index 774b3e08..a21a7ad0 100644 --- a/src/xfdesktop-icon-view.c +++ b/src/xfdesktop-icon-view.c @@ -959,7 +959,6 @@ xfdesktop_icon_view_button_press(GtkWidget *widget, g_signal_emit(G_OBJECT(icon_view), __signals[SIG_ICON_ACTIVATED], 0, NULL); xfdesktop_icon_activated(icon); - xfdesktop_icon_view_unselect_all(icon_view); } } @@ -1019,7 +1018,7 @@ xfdesktop_icon_view_button_release(GtkWidget *widget, g_signal_emit(G_OBJECT(icon_view), __signals[SIG_ICON_ACTIVATED], 0, NULL); xfdesktop_icon_activated(icon); - xfdesktop_icon_view_unselect_item(icon_view, icon); + xfdesktop_icon_view_unselect_all(icon_view); } } -- 2.25.1