mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-18 22:05:28 -05:00
fix: fix border color change when swithc mon focus
This commit is contained in:
parent
16296898ce
commit
d85f4375c8
4 changed files with 13 additions and 5 deletions
|
|
@ -374,7 +374,10 @@ Client *get_next_stack_client(Client *c, bool reverse) {
|
|||
}
|
||||
|
||||
float *get_border_color(Client *c) {
|
||||
if (c->isurgent) {
|
||||
|
||||
if (c->mon != selmon) {
|
||||
return bordercolor;
|
||||
} else if (c->isurgent) {
|
||||
return urgentcolor;
|
||||
} else if (c->is_in_scratchpad && selmon && c == selmon->sel) {
|
||||
return scratchpadcolor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue