summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/rofi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rofi.c b/source/rofi.c
index 51a40b9c..0e858eec 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -1216,7 +1216,7 @@ static void menu_mouse_navigation ( MenuState *state, XButtonEvent *xbe )
if ( ( xbe->window ) == ( state->boxes[i]->window ) ) {
// Only allow items that are visible to be selected.
if ( ( state->last_offset + i ) >= state->filtered_lines ) {
- continue;
+ break;
}
//
state->selected = state->last_offset + i;