mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-09 05:34:17 -04:00
feat: support the repeated exchange of the same two clients
This commit is contained in:
parent
81fcf208a4
commit
dcea22bfda
2 changed files with 8 additions and 1 deletions
|
|
@ -4828,6 +4828,11 @@ void exchange_two_client(Client *c1, Client *c2) {
|
|||
} else {
|
||||
arrange(c1->mon, false, false);
|
||||
}
|
||||
|
||||
// In order to facilitate repeated exchanges for get_focused_stack_client
|
||||
// set c2 focus order behind c1
|
||||
wl_list_remove(&c2->flink);
|
||||
wl_list_insert(&c1->flink, &c2->flink);
|
||||
}
|
||||
|
||||
void set_activation_env() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue