From 7bd488e7c78e06de5f445f4f2669397298dbfb9c Mon Sep 17 00:00:00 2001 From: Okan Demirmen Date: Fri, 11 Jul 2008 14:21:29 +0000 Subject: spacing, declaration lineup to be consistent throughout cwm, readability, and a bit of knf. ok oga@ --- app/cwm/screen.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'app/cwm/screen.c') diff --git a/app/cwm/screen.c b/app/cwm/screen.c index 76cc8439f..9ecf699b3 100644 --- a/app/cwm/screen.c +++ b/app/cwm/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. * - * $Id: screen.c,v 1.6 2008/05/01 18:01:13 oga Exp $ + * $Id: screen.c,v 1.7 2008/07/11 14:21:28 okan Exp $ */ #include "headers.h" @@ -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; -- cgit v1.2.3