aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorokan2014-09-07 19:27:30 +0000
committerokan2014-09-07 19:27:30 +0000
commiteab7846097604d0bfc81f122685219fe7a738415 (patch)
tree6630de258aa2ebc267a9f79e9eeb32ca8d7e7ca5 /screen.c
parent6ad47ab7a1880d92f7b8b36722a424dd841025eb (diff)
downloadcwm-eab7846097604d0bfc81f122685219fe7a738415.tar.gz
more style nits
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/screen.c b/screen.c
index dbb8036..70343ef 100644
--- a/screen.c
+++ b/screen.c
@@ -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