cosmectic, move x in if block

This commit is contained in:
Julien Danjou 2007-09-11 17:51:48 +02:00
parent 2b5141b05a
commit 2677cc3515
1 changed files with 2 additions and 2 deletions

View File

@ -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]);