Merge branch 'bacardi55' of github.com:xorg62/wmfs into bacardi55
This commit is contained in:
commit
b1d4e2a403
@ -472,6 +472,7 @@ conf_tag_section(void)
|
||||
sec = fetch_section_first(NULL, "tags");
|
||||
|
||||
conf.tag_round = fetch_opt_first(sec, "false", "tag_round").bool;
|
||||
conf.tag_auto_prev = fetch_opt_first(sec, "true", "tag_auto_prev").bool;
|
||||
conf.colors.tagselfg = fetch_opt_first(sec, "#ffffff", "sel_fg").str;
|
||||
conf.colors.tagselbg = getcolor(fetch_opt_first(sec, "#000000", "sel_bg").str);
|
||||
conf.colors.tagurfg = fetch_opt_first(sec, "#000000", "urgent_fg").str;
|
||||
|
||||
@ -482,6 +482,7 @@ typedef struct
|
||||
Rule *rule;
|
||||
int *ntag;
|
||||
Bool tag_round;
|
||||
Bool tag_auto_prev;
|
||||
Bool client_round;
|
||||
Bool layout_system; /* Switch: False, Menu: True. */
|
||||
Bool layout_placement; /* Right (normal): False, Left: True. */
|
||||
|
||||
@ -49,7 +49,7 @@ tag_set(int tag)
|
||||
|
||||
if(seltag[selscreen] != tag)
|
||||
prevseltag[selscreen] = seltag[selscreen];
|
||||
else if(tag == seltag[selscreen] && tag != prevseltag[selscreen])
|
||||
else if(tag == seltag[selscreen] && tag != prevseltag[selscreen] && conf.tag_auto_prev)
|
||||
tag = seltag[selscreen] = prevseltag[selscreen];
|
||||
else
|
||||
seltag[selscreen] = tag;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user