dwm-meillo

diff tag.c @ 306:71f02d14dce1

added general centralization rule for new clients (works around various borken apps)
author Anselm R.Garbe <arg@10ksloc.org>
date Wed, 16 Aug 2006 15:57:36 +0200
parents 6562340b9ffc
children ec8a66a2b9cc
line diff
     1.1 --- a/tag.c	Wed Aug 16 15:31:24 2006 +0200
     1.2 +++ b/tag.c	Wed Aug 16 15:57:36 2006 +0200
     1.3 @@ -281,7 +281,10 @@
     1.4  togglemode(Arg *arg)
     1.5  {
     1.6  	arrange = arrange == dofloat ? dotile : dofloat;
     1.7 -	arrange(NULL);
     1.8 +	if(sel)
     1.9 +		arrange(NULL);
    1.10 +	else
    1.11 +		drawstatus();
    1.12  }
    1.13  
    1.14  void