opt: optmize restore_minimized size and not restore namedscratchpad
This commit is contained in:
@@ -4793,8 +4793,11 @@ void setsel(struct wl_listener *listener, void *data) {
|
||||
}
|
||||
|
||||
void show_hide_client(Client *c) {
|
||||
unsigned int target = 1;
|
||||
|
||||
set_size_per(c->mon, c);
|
||||
target = get_tags_first_tag(c->oldtags);
|
||||
|
||||
unsigned int target = get_tags_first_tag(c->oldtags);
|
||||
if (!c->is_in_scratchpad) {
|
||||
tag_client(&(Arg){.ui = target}, c);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user