From 2677cc351553bbf5c3a4139d3914ef1c460f631c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 11 Sep 2007 17:51:48 +0200 Subject: [PATCH] cosmectic, move x in if block --- event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/event.c b/event.c index 05d85f82..31dd68e0 100644 --- a/event.c +++ b/event.c @@ -117,13 +117,13 @@ resizemouse(Client * c, awesome_config *awesomeconf) void handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf) { - int i, x; + int i; Client *c; XButtonPressedEvent *ev = &e->xbutton; if(awesomeconf->statusbar.window == ev->window) { - x = 0; + int x = 0; for(i = 0; i < awesomeconf->ntags; i++) { x += textw(awesomeconf->tags[i]);