mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-08 13:29:56 -05:00
fix: scratchpad window can't enable when toggle by change tag
This commit is contained in:
parent
5f688d6e6c
commit
6b2ef05dcf
1 changed files with 1 additions and 0 deletions
|
|
@ -1617,6 +1617,7 @@ void swallow(Client *c, Client *w) {
|
||||||
bool switch_scratchpad_client_state(Client *c) {
|
bool switch_scratchpad_client_state(Client *c) {
|
||||||
if (c->is_in_scratchpad && c->is_scratchpad_show &&
|
if (c->is_in_scratchpad && c->is_scratchpad_show &&
|
||||||
(selmon->tagset[selmon->seltags] & c->tags) == 0) {
|
(selmon->tagset[selmon->seltags] & c->tags) == 0) {
|
||||||
|
c->is_clip_to_hide = false;
|
||||||
unsigned int target =
|
unsigned int target =
|
||||||
get_tags_first_tag(selmon->tagset[selmon->seltags]);
|
get_tags_first_tag(selmon->tagset[selmon->seltags]);
|
||||||
tag_client(&(Arg){.ui = target}, c);
|
tag_client(&(Arg){.ui = target}, c);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue