diff options
author | okan <okan> | 2008-07-11 14:21:28 +0000 |
---|---|---|
committer | okan <okan> | 2008-07-11 14:21:28 +0000 |
commit | b23fad398789ed8d7412813e5b178a38a6667ee7 (patch) | |
tree | 4abba8dd92715e6dc2a272a487b00542b06d40db /screen.c | |
parent | 734f45ab4bdaf25835e90a56a1803de23ff49975 (diff) | |
download | cwm-b23fad398789ed8d7412813e5b178a38a6667ee7.tar.gz cwm-b23fad398789ed8d7412813e5b178a38a6667ee7.tar.xz cwm-b23fad398789ed8d7412813e5b178a38a6667ee7.zip |
spacing, declaration lineup to be consistent throughout cwm,
readability, and a bit of knf. ok oga@
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/screen.c b/screen.c index 02d92b2..6ab0471 100644 --- a/screen.c +++ b/screen.c @@ -27,7 +27,7 @@ extern struct screen_ctx *Curscreen; struct screen_ctx * screen_fromroot(Window rootwin) { - struct screen_ctx *sc; + struct screen_ctx *sc; TAILQ_FOREACH(sc, &Screenq, entry) if (sc->rootwin == rootwin) @@ -46,10 +46,12 @@ screen_current(void) void screen_updatestackingorder(void) { - Window *wins, w0, w1; - struct screen_ctx *sc = screen_current(); - u_int nwins, i, s; - struct client_ctx *cc; + Window *wins, w0, w1; + struct screen_ctx *sc; + struct client_ctx *cc; + u_int nwins, i, s; + + sc = screen_current(); if (!XQueryTree(X_Dpy, sc->rootwin, &w0, &w1, &wins, &nwins)) return; |