X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=dwm.c;h=db9e9c0c0056a35329db8f32a0933bc0bcc78e3d;hp=bad06f4c5422a1ad652a4d379f886f17df2c8e18;hb=90687482ad880358fce3f023633ebe68f5e96cdb;hpb=5ab627c06c7974b8b45926ddcf3bdce3e5e1d4ce diff --git a/dwm.c b/dwm.c index bad06f4..db9e9c0 100644 --- a/dwm.c +++ b/dwm.c @@ -1349,7 +1349,7 @@ showhide(Client *c, unsigned int ntiled) { if(!c) return; if(ISVISIBLE(c)) { /* show clients top down */ - if(ntiled > 1) /* avoid unnecessary border reverts */ + if(c->isfloating || ntiled > 1) /* avoid unnecessary border reverts */ adjustborder(c, borderpx); XMoveWindow(dpy, c->win, c->x, c->y); if(!lt[sellt]->arrange || c->isfloating) @@ -1708,7 +1708,7 @@ zoom(const Arg *arg) { int main(int argc, char *argv[]) { if(argc == 2 && !strcmp("-v", argv[1])) - die("dwm-"VERSION", © 2006-2008 dwm engineers, see LICENSE for details\n"); + die("dwm-"VERSION", © 2006-2009 dwm engineers, see LICENSE for details\n"); else if(argc != 1) die("usage: dwm [-v]\n");