Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
removed VRATIO, NMASTER, inc*(), renamed HRATIO into MASTER, see mailinglist for...
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
91eeff2
..
08fe1bd
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-226,10
+226,11
@@
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);
+ XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
setclientstate(c, IconicState);
c->isbanned = True;
focus(c);
setclientstate(c, IconicState);
c->isbanned = True;
focus(c);
- lt->arrange();
+ lt->arrange(
NULL
);
}
void
}
void
@@
-304,7
+305,7
@@
togglefloating(const char *arg) {
sel->isfloating = !sel->isfloating;
if(sel->isfloating)
resize(sel, sel->x, sel->y, sel->w, sel->h, True);
sel->isfloating = !sel->isfloating;
if(sel->isfloating)
resize(sel, sel->x, sel->y, sel->w, sel->h, True);
- lt->arrange();
+ lt->arrange(
NULL
);
}
void
}
void
@@
-336,7
+337,7
@@
unmanage(Client *c) {
XSync(dpy, False);
XSetErrorHandler(xerror);
XUngrabServer(dpy);
XSync(dpy, False);
XSetErrorHandler(xerror);
XUngrabServer(dpy);
- lt->arrange();
+ lt->arrange(
NULL
);
}
void
}
void