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
|
typedef struct _scrollbar
|
||||||
{
|
{
|
||||||
widget widget;
|
widget widget;
|
||||||
gboolean scrolling;
|
|
||||||
unsigned int length;
|
unsigned int length;
|
||||||
unsigned int pos;
|
unsigned int pos;
|
||||||
unsigned int pos_length;
|
unsigned int pos_length;
|
||||||
|
|
|
@ -70,10 +70,8 @@ static gboolean scrollbar_trigger_action ( widget *wid, MouseBindingMouseDefault
|
||||||
switch ( action )
|
switch ( action )
|
||||||
{
|
{
|
||||||
case MOUSE_CLICK_DOWN:
|
case MOUSE_CLICK_DOWN:
|
||||||
sb->scrolling = TRUE;
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
case MOUSE_CLICK_UP:
|
case MOUSE_CLICK_UP:
|
||||||
sb->scrolling = FALSE;
|
|
||||||
/* FIXME: scoll
|
/* FIXME: scoll
|
||||||
scrollbar_scroll(sb, y);
|
scrollbar_scroll(sb, y);
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue