I don't want switchtotag patch.

This commit is contained in:
Bartek Stalewski 2021-10-11 23:33:30 +02:00
parent 362df91d3e
commit 68c606afed
4 changed files with 16 additions and 85 deletions

View file

@ -122,7 +122,6 @@ struct Client {
int basew, baseh, incw, inch, maxw, maxh, minw, minh;
int bw, oldbw;
unsigned int tags;
unsigned int switchtotag;
int isfixed, isfloating, isurgent, neverfocus, oldstate, isfullscreen, isterminal, noswallow;
pid_t pid;
Client *next;
@ -172,7 +171,6 @@ typedef struct {
const char *instance;
const char *title;
unsigned int tags;
unsigned int switchtotag;
int isfloating;
int isterminal;
int noswallow;
@ -380,11 +378,6 @@ applyrules(Client *c)
for (m = mons; m && m->num != r->monitor; m = m->next);
if (m)
c->mon = m;
if (r->switchtotag) {
Arg a = { .ui = r->tags };
c->switchtotag = selmon->tagset[selmon->seltags];
view(&a);
}
}
}
if (ch.res_class)
@ -2324,10 +2317,6 @@ unmanage(Client *c, int destroyed)
if (!s) {
arrange(m);
if (c->switchtotag) {
Arg a = { .ui = c->switchtotag };
view(&a);
}
focus(NULL);
updateclientlist();
}