From 7ca3bd32bb469096575e74e1ba27360692abb507 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 12 Oct 2007 14:36:36 +0200 Subject: [PATCH] fix regression with mousewheel on statusbar --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.c b/event.c index eaa86d415..9524c49fd 100644 --- a/event.c +++ b/event.c @@ -183,7 +183,7 @@ handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf) return; } } - x += awesomeconf[screen].statusbar.width; + x += awesomeconf[screen].statusbar.txtlayoutwidth; if(ev->x < x && (ev->button == Button1 || ev->button == Button4)) uicb_setlayout(&awesomeconf[screen], "+1"); else if(ev->x < x && (ev->button == Button3 || ev->button == Button5))