]> git.armaanb.net Git - dwm.git/blobdiff - client.c
separated layout-specific stuff into separate .h and .c files which are included...
[dwm.git] / client.c
index 85b1af82cbf008c66a9d3e7a1a3876a2bc0c8efc..d4dfe6e6806b7735df9f599cab784fa9652ecbe1 100644 (file)
--- a/client.c
+++ b/client.c
@@ -226,6 +226,8 @@ manage(Window w, XWindowAttributes *wa) {
                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);
        lt->arrange();