Some cleanups I will recheck if these are really cleanups tomorrow. Too much coffein be sure right now. - ttabbed - Simple tabbing application for X11.
       
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 29bd30647436867af934d9f7af964a5ee764caaf
 (DIR) parent e6759619576b2732828d60dba7bad2596ce430cd
 (HTM) Author: Enno Boland (tox) <tox@s01.de>
       Date:   Tue, 16 Feb 2010 20:09:26 +0100
       
       Some cleanups
       I will recheck if these are really cleanups tomorrow. Too much coffein be sure right now.
       Diffstat:
         tabbed.c                            |       7 ++-----
       
       1 file changed, 2 insertions(+), 5 deletions(-)
       ---
 (DIR) diff --git a/tabbed.c b/tabbed.c
       @@ -383,16 +383,13 @@ expose(const XEvent *e) {
        
        void
        focus(Client *c) {
       -        if(!clients) {
       +        /* If c, sel and clients are NULL, raise tabbed-win itself */
       +        if(!c && !(c = sel ? sel : clients)) {
                        XStoreName(dpy, win, "tabbed-"VERSION);
                        XRaiseWindow(dpy, win);
                        XSetInputFocus(dpy, win, RevertToPointerRoot, CurrentTime);
                        return;
                }
       -        if(!c)
       -                c = sel ? sel : clients;
       -        if(!c)
       -                return;
                resize(c, ww, wh - bh);
                XRaiseWindow(dpy, c->win);
                XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);