mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-08 08:21:00 -04:00
Fix > 1 clients borders being highlighted
With multiple clients on multiple monitors, one client for each monitor had "focuscolor" colored borders. Now, only just the currently focused client has "focuscolor" colored borders as usual.
This commit is contained in:
parent
da5ca5c77f
commit
713a036db6
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
|
@ -1274,7 +1274,7 @@ renderclients(Monitor *m, struct timespec *now)
|
|||
};
|
||||
|
||||
/* Draw window borders */
|
||||
color = (c == m->focus) ? focuscolor : bordercolor;
|
||||
color = (c == selmon->focus) ? focuscolor : bordercolor;
|
||||
for (i = 0; i < 4; i++) {
|
||||
scalebox(&borders[i], m->wlr_output->scale);
|
||||
wlr_render_rect(drw, &borders[i], color,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue