From 8e0ced23780ab9f2fdcac9ed92f2a4584e97a77a Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 28 Oct 2016 18:32:29 +0200 Subject: [PATCH] Remove commented code --- source/view.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/view.c b/source/view.c index f2a1034d..f51325b0 100644 --- a/source/view.c +++ b/source/view.c @@ -1214,11 +1214,6 @@ void rofi_view_itterrate ( RofiViewState *state, xcb_generic_event_t *ev, xkb_st if ( config.click_to_exit == TRUE ) { state->mouse_seen = TRUE; } -// xcb_motion_notify_event_t *xme = (xcb_motion_notify_event_t *) ev; - // if ( state->scrollbar != NULL && - // xme->event_x >= state->scrollbar->widget.x && xme->event_x < ( state->scrollbar->widget.x + state->scrollbar->widget.w ) ) { - // state->selected = scrollbar_clicked ( state->scrollbar, xme->event_y ); - // } xcb_motion_notify_event_t xme = *( (xcb_motion_notify_event_t *) ev ); xme.event_x -= config.padding; xme.event_y -= config.padding;