aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen_browser.c')
-rw-r--r--src/screen_browser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen_browser.c b/src/screen_browser.c
index 4c8bc2ed6..bbf69c522 100644
--- a/src/screen_browser.c
+++ b/src/screen_browser.c
@@ -423,7 +423,8 @@ browser_handle_mouse_event(struct screen_browser *browser, mpdclient_t *c)
else
length = 0;
- if( screen_get_mouse_event(c, browser->lw, length, &bstate, &row) )
+ if (screen_get_mouse_event(c, &bstate, &row) ||
+ list_window_mouse(browser->lw, length, bstate, row))
return 1;
browser->lw->selected = browser->lw->start + row;