dwm-meillo

diff tag.c @ 384:126e78129f1d

configurenotify remembers max geom now, and restores this if necessary, however it accepts to touch the max size on configurerequest, this shouldn't break fillscreen apps (tested with mplayer)
author Anselm R. Garbe <arg@10kloc.org>
date Tue, 29 Aug 2006 17:31:55 +0200
parents 2ec9cead84a7
children 6786cd59468f
line diff
     1.1 --- a/tag.c	Tue Aug 29 17:11:37 2006 +0200
     1.2 +++ b/tag.c	Tue Aug 29 17:31:55 2006 +0200
     1.3 @@ -31,7 +31,7 @@
     1.4  static unsigned int len = 0;
     1.5  
     1.6  static void
     1.7 -applytag()
     1.8 +commit()
     1.9  {
    1.10  	/* asserts sel != NULL */
    1.11  	settitle(sel);
    1.12 @@ -132,7 +132,7 @@
    1.13  	for(i = 0; i < ntags; i++)
    1.14  		sel->tags[i] = False;
    1.15  	sel->tags[arg->i] = True;
    1.16 -	applytag();
    1.17 +	commit();
    1.18  }
    1.19  
    1.20  void
    1.21 @@ -147,5 +147,5 @@
    1.22  	for(i = 0; i < ntags && !sel->tags[i]; i++);
    1.23  	if(i == ntags)
    1.24  		sel->tags[arg->i] = True;
    1.25 -	applytag();
    1.26 +	commit();
    1.27  }