mirror of
https://github.com/davatorium/rofi.git
synced 2025-03-03 16:05:20 -05:00
scrollbar: Drop unused variable
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
2f29dc0437
commit
6a750669d7
2 changed files with 0 additions and 3 deletions
|
@ -43,7 +43,6 @@
|
|||
typedef struct _scrollbar
|
||||
{
|
||||
widget widget;
|
||||
gboolean scrolling;
|
||||
unsigned int length;
|
||||
unsigned int pos;
|
||||
unsigned int pos_length;
|
||||
|
|
|
@ -70,10 +70,8 @@ static gboolean scrollbar_trigger_action ( widget *wid, MouseBindingMouseDefault
|
|||
switch ( action )
|
||||
{
|
||||
case MOUSE_CLICK_DOWN:
|
||||
sb->scrolling = TRUE;
|
||||
return TRUE;
|
||||
case MOUSE_CLICK_UP:
|
||||
sb->scrolling = FALSE;
|
||||
/* FIXME: scoll
|
||||
scrollbar_scroll(sb, y);
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue