mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-23 01:40:16 -05:00
opt: optmize restore_minimized size and not restore namedscratchpad
This commit is contained in:
parent
0501719604
commit
17f1ae2463
2 changed files with 5 additions and 2 deletions
|
|
@ -476,7 +476,7 @@ int restore_minimized(const Arg *arg) {
|
|||
}
|
||||
|
||||
wl_list_for_each(c, &clients, link) {
|
||||
if (c->isminied) {
|
||||
if (c->isminied && !c->isnamedscratchpad) {
|
||||
c->is_scratchpad_show = 0;
|
||||
c->is_in_scratchpad = 0;
|
||||
c->isnamedscratchpad = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue