summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-05-20 17:51:22 +0200
committerGravatar waker <wakeroid@gmail.com>2011-05-20 17:51:22 +0200
commit6113561aee612c16d504f2c85528d79a96b80013 (patch)
tree7dc62bca802f41c8fea6328b2e741aec75df6200 /plugins
parentc3788391e3f472a6f6fd310cf2e0931842dd89f3 (diff)
fixed area-selection sticking after pressing left and right mouse buttons at the same time
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtkui/ddblistview.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/gtkui/ddblistview.c b/plugins/gtkui/ddblistview.c
index c1203364..a64ed8c7 100644
--- a/plugins/gtkui/ddblistview.c
+++ b/plugins/gtkui/ddblistview.c
@@ -18,9 +18,6 @@
#ifdef HAVE_CONFIG_H
# include "../../config.h"
#endif
-#if HAVE_NOTIFY
-#include <libnotify/notify.h>
-#endif
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
@@ -1364,6 +1361,7 @@ ddb_listview_select_single (DdbListview *ps, int sel) {
void
ddb_listview_click_selection (DdbListview *ps, int ex, int ey, DdbListviewGroup *grp, int grp_index, int sel, int dnd) {
deadbeef->pl_lock ();
+ ps->areaselect = 0;
ddb_listview_groupcheck (ps);
if (sel == -1 && (!grp || grp_index >= grp->num_items)) {
// clicked empty space, deselect everything