summary refs log tree commit diff
path: root/screen.c
diff options
context:
space:
mode:
authorokan <okan>2014-09-07 19:27:30 +0000
committerokan <okan>2014-09-07 19:27:30 +0000
commit3d12b6d1d940d40c1298ae03e519c8ac4a9a1407 (patch)
treeb7a2201e7e811cbb6c1fedac37fb78b2edd4b9f9 /screen.c
parentbe091b35236438d578782c7d5711a512451f302b (diff)
downloadcwm-3d12b6d1d940d40c1298ae03e519c8ac4a9a1407.tar.gz
cwm-3d12b6d1d940d40c1298ae03e519c8ac4a9a1407.tar.xz
cwm-3d12b6d1d940d40c1298ae03e519c8ac4a9a1407.zip
more style nits
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/screen.c b/screen.c
index a81f0b6..1706f5b 100644
--- a/screen.c
+++ b/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