mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-02 21:38:32 -04:00
fix: cransh in disable monitor when use scratchpad
This commit is contained in:
parent
adeaaada45
commit
9e4fade55e
3 changed files with 10 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ uint32_t get_tags_first_tag_num(uint32_t source_tags) {
|
|||
tag = 0;
|
||||
|
||||
if (!source_tags) {
|
||||
return selmon->pertag->curtag;
|
||||
return 0;
|
||||
}
|
||||
|
||||
for (i = 0; !(tag & 1) && source_tags != 0 && i < LENGTH(tags); i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue