summaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-08-29 17:31:55 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-08-29 17:31:55 +0200
commitaa1bda81646e9d6188fd584009be0eee619f6966 (patch)
tree28ad2d6e4d602b738a154d6befc62bfef9107819 /tag.c
parentapplied patch similiar proposed by dave tweed (diff)
downloaddwm-aa1bda81646e9d6188fd584009be0eee619f6966.tar.gz
dwm-aa1bda81646e9d6188fd584009be0eee619f6966.zip
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)
Diffstat (limited to 'tag.c')
-rw-r--r--tag.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tag.c b/tag.c
index ddffafa..b7c06de 100644
--- a/tag.c
+++ b/tag.c
@@ -31,7 +31,7 @@ static RReg *rreg = NULL;
31static unsigned int len = 0; 31static unsigned int len = 0;
32 32
33static void 33static void
34applytag() 34commit()
35{ 35{
36 /* asserts sel != NULL */ 36 /* asserts sel != NULL */
37 settitle(sel); 37 settitle(sel);
@@ -132,7 +132,7 @@ tag(Arg *arg)
132 for(i = 0; i < ntags; i++) 132 for(i = 0; i < ntags; i++)
133 sel->tags[i] = False; 133 sel->tags[i] = False;
134 sel->tags[arg->i] = True; 134 sel->tags[arg->i] = True;
135 applytag(); 135 commit();
136} 136}
137 137
138void 138void
@@ -147,5 +147,5 @@ toggletag(Arg *arg)
147 for(i = 0; i < ntags && !sel->tags[i]; i++); 147 for(i = 0; i < ntags && !sel->tags[i]; i++);
148 if(i == ntags) 148 if(i == ntags)
149 sel->tags[arg->i] = True; 149 sel->tags[arg->i] = True;
150 applytag(); 150 commit();
151} 151}