mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-12 05:34:32 -04:00
feat: support the repeated exchange of the same two clients
This commit is contained in:
parent
6522e18d08
commit
11b4bb03bf
2 changed files with 8 additions and 1 deletions
|
|
@ -110,7 +110,9 @@ int32_t exchange_client(const Arg *arg) {
|
|||
if ((c->isfullscreen || c->ismaximizescreen) && !is_scroller_layout(c->mon))
|
||||
return 0;
|
||||
|
||||
exchange_two_client(c, direction_select(arg));
|
||||
Client *tc = direction_select(arg);
|
||||
tc = get_focused_stack_client(tc);
|
||||
exchange_two_client(c, tc);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue