X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=client.c;h=c716625533a1d83f003ca42ef60c9469155538c6;hp=9dd08b1ca6dae9d223a06fad6559a124db1ffb7b;hb=2091200c957783deed032380d56c4199a23c6b81;hpb=36672d0401299a5230b516ca4575365d9f45dd35 diff --git a/client.c b/client.c index 9dd08b1..c716625 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 */ @@ -146,7 +145,7 @@ focus(Client *c) { grabbuttons(c, True); } sel = c; - drawstatus(); + drawbar(); if(!selscreen) return; if(c) { @@ -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(); }