fixed an issue reported by Nibble, also fixed s/2008/2009/

This commit is contained in:
a@null 2009-02-08 12:11:22 +00:00
parent 5ab627c06c
commit 90687482ad
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
MIT/X Consortium License MIT/X Consortium License
© 2006-2008 Anselm R Garbe <garbeam at gmail dot com> © 2006-2009 Anselm R Garbe <garbeam at gmail dot com>
© 2006-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com> © 2006-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com>
© 2006-2007 Jukka Salmi <jukka at salmi dot ch> © 2006-2007 Jukka Salmi <jukka at salmi dot ch>
© 2007 Premysl Hruby <dfenze at gmail dot com> © 2007 Premysl Hruby <dfenze at gmail dot com>

View file

@ -1,5 +1,5 @@
# dwm version # dwm version
VERSION = 5.4 VERSION = 5.4.1
# Customize below to fit your system # Customize below to fit your system

4
dwm.c
View file

@ -1349,7 +1349,7 @@ showhide(Client *c, unsigned int ntiled) {
if(!c) if(!c)
return; return;
if(ISVISIBLE(c)) { /* show clients top down */ 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); adjustborder(c, borderpx);
XMoveWindow(dpy, c->win, c->x, c->y); XMoveWindow(dpy, c->win, c->x, c->y);
if(!lt[sellt]->arrange || c->isfloating) if(!lt[sellt]->arrange || c->isfloating)
@ -1708,7 +1708,7 @@ zoom(const Arg *arg) {
int int
main(int argc, char *argv[]) { main(int argc, char *argv[]) {
if(argc == 2 && !strcmp("-v", argv[1])) 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) else if(argc != 1)
die("usage: dwm [-v]\n"); die("usage: dwm [-v]\n");