diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-18 14:20:56 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-18 14:20:56 +0200 |
commit | 0c6062041035105c6266f6bedb286c1990516fa7 (patch) | |
tree | 0333fb545f61fa6a409e8fd9d1167ee2f9b25428 /tag.c | |
parent | 50be6c8b67c500ee4aa07919609fa80785fd389d (diff) | |
download | dwm-0c6062041035105c6266f6bedb286c1990516fa7.tar.gz dwm-0c6062041035105c6266f6bedb286c1990516fa7.tar.bz2 dwm-0c6062041035105c6266f6bedb286c1990516fa7.zip |
hmm I doubt the usefulness of storing this information...
Diffstat (limited to 'tag.c')
-rw-r--r-- | tag.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -3,8 +3,6 @@ #include <regex.h> #include <stdio.h> #include <stdlib.h> -#include <string.h> -#include <X11/Xatom.h> #include <X11/Xutil.h> /* static */ @@ -118,7 +116,7 @@ tag(const char *arg) { i = idxoftag(arg); if(i >= 0 && i < ntags) sel->tags[i] = True; - saveconfig(sel); + saveprops(sel); arrange(); } @@ -129,7 +127,7 @@ togglefloating(const char *arg) { sel->isfloating = !sel->isfloating; if(sel->isfloating) { resize(sel, sel->x, sel->y, sel->w, sel->h, True); - saveconfig(sel); + saveprops(sel); } arrange(); } @@ -145,7 +143,7 @@ toggletag(const char *arg) { for(j = 0; j < ntags && !sel->tags[j]; j++); if(j == ntags) sel->tags[i] = True; - saveconfig(sel); + saveprops(sel); arrange(); } @@ -158,6 +156,7 @@ toggleview(const char *arg) { for(j = 0; j < ntags && !seltags[j]; j++); if(j == ntags) seltags[i] = True; /* cannot toggle last view */ + savedwmprops(); arrange(); } @@ -170,5 +169,6 @@ view(const char *arg) { i = idxoftag(arg); if(i >= 0 && i < ntags) seltags[i] = True; + savedwmprops(); arrange(); } |