mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-02 09:01:43 -05:00
opt: optimize the order adjustment of scratchpad in clients link
This commit is contained in:
parent
505e0ec4ff
commit
1de3455733
1 changed files with 2 additions and 0 deletions
|
|
@ -1416,6 +1416,8 @@ void show_scratchpad(Client *c) {
|
|||
}
|
||||
c->oldtags = selmon->tagset[selmon->seltags];
|
||||
c->is_clip_to_hide = false;
|
||||
wl_list_remove(&c->link); // 从原来位置移除
|
||||
wl_list_insert(clients.prev->next, &c->link); // 插入开头
|
||||
show_hide_client(c);
|
||||
setborder_color(c);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue