style fixes (mainly whitespace)

Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
Markus Teich 2016-01-18 16:08:26 +01:00 committed by Christoph Lohmann
parent 0ac6bf5a97
commit 743fa9f3d1

6
surf.c
View file

@ -1075,10 +1075,9 @@ newclient(void)
printf("%u\n", printf("%u\n",
(guint)GDK_WINDOW_XID(GTK_WIDGET(c->win)->window)); (guint)GDK_WINDOW_XID(GTK_WIDGET(c->win)->window));
fflush(NULL); fflush(NULL);
if (fclose(stdout) != 0) { if (fclose(stdout) != 0)
die("Error closing stdout"); die("Error closing stdout");
} }
}
return c; return c;
} }
@ -1201,12 +1200,10 @@ processx(GdkXEvent *e, GdkEvent *event, gpointer d)
if (ev->atom == atoms[AtomFind]) { if (ev->atom == atoms[AtomFind]) {
arg.b = TRUE; arg.b = TRUE;
find(c, &arg); find(c, &arg);
return GDK_FILTER_REMOVE; return GDK_FILTER_REMOVE;
} else if (ev->atom == atoms[AtomGo]) { } else if (ev->atom == atoms[AtomGo]) {
arg.v = getatom(c, AtomGo); arg.v = getatom(c, AtomGo);
loaduri(c, &arg); loaduri(c, &arg);
return GDK_FILTER_REMOVE; return GDK_FILTER_REMOVE;
} }
} }
@ -1556,7 +1553,6 @@ togglestyle(Client *c, const Arg *arg)
{ {
enablestyle = !enablestyle; enablestyle = !enablestyle;
setstyle(c, enablestyle ? getstyle(geturi(c)) : ""); setstyle(c, enablestyle ? getstyle(geturi(c)) : "");
updatetitle(c); updatetitle(c);
} }