mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-21 05:34:05 -04:00
opt: not allow mutitag client in scroller_stack actino
This commit is contained in:
parent
eb55626605
commit
8a769eaf03
1 changed files with 3 additions and 0 deletions
|
|
@ -1599,6 +1599,9 @@ int32_t scroller_stack(const Arg *arg) {
|
||||||
if (!c || c->isfloating || !is_scroller_layout(selmon))
|
if (!c || c->isfloating || !is_scroller_layout(selmon))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
if (c && (!client_only_in_one_tag(c) || c->isglobal || c->isunglobal))
|
||||||
|
return 0;
|
||||||
|
|
||||||
Client *target_client = find_client_by_direction(c, arg, false, true);
|
Client *target_client = find_client_by_direction(c, arg, false, true);
|
||||||
|
|
||||||
if (target_client && (!client_only_in_one_tag(target_client) ||
|
if (target_client && (!client_only_in_one_tag(target_client) ||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue