opt: not apply tagmon action in some case
This commit is contained in:
@@ -5702,7 +5702,7 @@ void tagmon(const Arg *arg) {
|
|||||||
|
|
||||||
m = dirtomon(arg->i);
|
m = dirtomon(arg->i);
|
||||||
|
|
||||||
if (!m)
|
if (!m || !m->wlr_output->enabled || m == c->mon)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
unsigned int newtags = arg->ui ? c->tags : 0;
|
unsigned int newtags = arg->ui ? c->tags : 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user