Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
applied anudots [un]ban repair patch
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
adf422e
..
06bc9d8
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-216,8
+216,7
@@
manage(Window w, XWindowAttributes *wa) {
c->isfloating = (rettrans == Success) || c->isfixed;
attach(c);
attachstack(c);
c->isfloating = (rettrans == Success) || c->isfixed;
attach(c);
attachstack(c);
- c->isbanned = True;
- XMoveWindow(dpy, w, c->x + 2 * sw, c->y);
+ ban(c);
XMapWindow(dpy, w);
setclientstate(c, NormalState);
focus(c);
XMapWindow(dpy, w);
setclientstate(c, NormalState);
focus(c);