set the correct border color when mapping a client
This commit is contained in:
parent
80c9ad12ba
commit
a760757b82
3
dwl.c
3
dwl.c
@ -1528,7 +1528,8 @@ mapnotify(struct wl_listener *listener, void *data)
|
||||
}
|
||||
|
||||
for (i = 0; i < 4; i++) {
|
||||
c->border[i] = wlr_scene_rect_create(c->scene, 0, 0, bordercolor);
|
||||
c->border[i] = wlr_scene_rect_create(c->scene, 0, 0,
|
||||
c->isurgent ? urgentcolor : bordercolor);
|
||||
c->border[i]->node.data = c;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user