[Xfce4-commits] [xfce/xfdesktop] 17/34: Fix the rubber band selection on right click

noreply at xfce.org noreply at xfce.org
Sun Apr 16 07:06:51 CEST 2017


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

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 1746c0e75fa829822dd798249b1f58dc93455ba4
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Fri Mar 3 07:50:14 2017 +0300

    Fix the rubber band selection on right click
---
 src/xfdesktop-icon-view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index b76190f..36b7aa7 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -1088,7 +1088,7 @@ xfdesktop_icon_view_button_release(GtkWidget *widget,
         }
     }
 
-    if(evt->button == 1 || evt->button == 3) {
+    if(evt->button == 1 || evt->button == 3 || evt->button == 0) {
         DBG("unsetting stuff");
         icon_view->priv->control_click = FALSE;
         icon_view->priv->double_click = FALSE;

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


More information about the Xfce4-commits mailing list