new feature: add mouse wheel support on tags name
This commit is contained in:
parent
96e80f1e83
commit
b00f9ab1f6
4
event.c
4
event.c
|
@ -172,6 +172,10 @@ handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf)
|
|||
else
|
||||
uicb_toggleview(e->xany.display, &dc[screen], &awesomeconf[screen], awesomeconf[screen].tags[i].name);
|
||||
}
|
||||
else if(ev->button == Button4)
|
||||
uicb_tag_viewnext(e->xany.display, &dc[screen], &awesomeconf[screen], NULL);
|
||||
else if(ev->button == Button5)
|
||||
uicb_tag_viewprev(e->xany.display, &dc[screen], &awesomeconf[screen], NULL);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue