Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renaming isdestroyed into destroyed
[dwm.git]
/
dwm.c
diff --git
a/dwm.c
b/dwm.c
index
a2c1e00
..
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);
@@
-1041,6
+1041,7
@@
killclient(const Arg *arg) {
}
else
XKillClient(dpy, selmon->sel->win);
}
else
XKillClient(dpy, selmon->sel->win);
+ XSync(dpy, False);
}
void
}
void
@@
-1626,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);