diff options
author | okan | 2014-09-07 19:27:30 +0000 |
---|---|---|
committer | okan | 2014-09-07 19:27:30 +0000 |
commit | eab7846097604d0bfc81f122685219fe7a738415 (patch) | |
tree | 6630de258aa2ebc267a9f79e9eeb32ca8d7e7ca5 /screen.c | |
parent | 6ad47ab7a1880d92f7b8b36722a424dd841025eb (diff) | |
download | cwm-eab7846097604d0bfc81f122685219fe7a738415.tar.gz |
more style nits
Diffstat (limited to '')
-rw-r--r-- | screen.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: screen.c,v 1.65 2014/09/07 17:38:38 okan Exp $ + * $OpenBSD: screen.c,v 1.66 2014/09/07 19:27:30 okan Exp $ */ #include <sys/param.h> @@ -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 |