JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
renaming isdestroyed into destroyed
authorAnselm R Garbe <garbeam@gmail.com>
Tue, 8 Sep 2009 12:18:05 +0000 (13:18 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Tue, 8 Sep 2009 12:18:05 +0000 (13:18 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index 5ea74cb..413e795 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -218,7 +218,7 @@ static void togglefloating(const Arg *arg);
 static void toggletag(const Arg *arg);
 static void toggleview(const Arg *arg);
 static void unfocus(Client *c);
 static void toggletag(const Arg *arg);
 static void toggleview(const Arg *arg);
 static void unfocus(Client *c);
-static void unmanage(Client *c, Bool isdestroyed);
+static void unmanage(Client *c, Bool destroyed);
 static void unmapnotify(XEvent *e);
 static void updategeom(void);
 static void updatebarpos(Monitor *m);
 static void unmapnotify(XEvent *e);
 static void updategeom(void);
 static void updatebarpos(Monitor *m);
@@ -1627,13 +1627,13 @@ unfocus(Client *c) {
 }
 
 void
 }
 
 void
-unmanage(Client *c, Bool isdestroyed) {
+unmanage(Client *c, Bool destroyed) {
        XWindowChanges wc;
 
        /* The server grab construct avoids race conditions. */
        detach(c);
        detachstack(c);
        XWindowChanges wc;
 
        /* The server grab construct avoids race conditions. */
        detach(c);
        detachstack(c);
-       if(!isdestroyed) {
+       if(!destroyed) {
                wc.border_width = c->oldbw;
                XGrabServer(dpy);
                XSetErrorHandler(xerrordummy);
                wc.border_width = c->oldbw;
                XGrabServer(dpy);
                XSetErrorHandler(xerrordummy);