From 90687482ad880358fce3f023633ebe68f5e96cdb Mon Sep 17 00:00:00 2001 From: "a@null" Date: Sun, 8 Feb 2009 12:11:22 +0000 Subject: fixed an issue reported by Nibble, also fixed s/2008/2009/ --- LICENSE | 2 +- config.mk | 2 +- dwm.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index fa47bd5..8f5233b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT/X Consortium License -© 2006-2008 Anselm R Garbe +© 2006-2009 Anselm R Garbe © 2006-2007 Sander van Dijk © 2006-2007 Jukka Salmi © 2007 Premysl Hruby diff --git a/config.mk b/config.mk index 2875865..e70799a 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # dwm version -VERSION = 5.4 +VERSION = 5.4.1 # Customize below to fit your system 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"); -- cgit v1.2.3