From b00f9ab1f641aeebc83356030b6e37699fea497d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 5 Oct 2007 10:53:39 +0200 Subject: [PATCH] new feature: add mouse wheel support on tags name --- event.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/event.c b/event.c index dc170969e..896b0bd60 100644 --- a/event.c +++ b/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; } }