mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
more style nits
This commit is contained in:
10
screen.c
10
screen.c
@@ -83,12 +83,12 @@ screen_find(Window win)
|
||||
{
|
||||
struct screen_ctx *sc;
|
||||
|
||||
TAILQ_FOREACH(sc, &Screenq, entry)
|
||||
TAILQ_FOREACH(sc, &Screenq, entry) {
|
||||
if (sc->rootwin == win)
|
||||
return (sc);
|
||||
|
||||
return(sc);
|
||||
}
|
||||
/* XXX FAIL HERE */
|
||||
return (TAILQ_FIRST(&Screenq));
|
||||
return(TAILQ_FIRST(&Screenq));
|
||||
}
|
||||
|
||||
void
|
||||
@@ -133,7 +133,7 @@ screen_find_xinerama(struct screen_ctx *sc, int x, int y, int flags)
|
||||
geom.w -= (sc->gap.left + sc->gap.right);
|
||||
geom.h -= (sc->gap.top + sc->gap.bottom);
|
||||
}
|
||||
return (geom);
|
||||
return(geom);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user