X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/36672d0401299a5230b516ca4575365d9f45dd35..169d96ae8fdf430fd028de74a97c8901759174be:/client.c diff --git a/client.c b/client.c index 9dd08b1..cd16e11 100644 --- a/client.c +++ b/client.c @@ -1,7 +1,6 @@ /* See LICENSE file for copyright and license details. */ #include "dwm.h" #include -#include #include /* static */ @@ -230,6 +229,7 @@ manage(Window w, XWindowAttributes *wa) { XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */ ban(c); XMapWindow(dpy, c->win); + setclientstate(c, NormalState); arrange(); }