Remove useless variables
This commit is contained in:
parent
a6819845af
commit
9803b2d5ab
|
@ -4839,17 +4839,12 @@ view(const Arg *arg)
|
|||
if (selmon->previewshow && !selmon->mouseactivated)
|
||||
return;
|
||||
|
||||
XUnmapWindow(dpy, selmon->tagwin);
|
||||
selmon->previewshow = 0;
|
||||
|
||||
if(arg->ui && (arg->ui & TAGMASK) == selmon->tagset[selmon->seltags])
|
||||
return;
|
||||
getpreview();
|
||||
//selmon->seltags ^= 1; /* toggle sel tagset */
|
||||
for (m = mons; m; m = m->next)
|
||||
m->seltags ^= 1;
|
||||
if (arg->ui & TAGMASK) {
|
||||
//selmon->tagset[selmon->seltags] = arg->ui & TAGMASK;
|
||||
for (m = mons; m; m = m->next)
|
||||
m->tagset[m->seltags] = arg->ui & TAGMASK;
|
||||
|
||||
|
|
Loading…
Reference in a new issue