diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-12-07 21:44:53 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-12-07 21:44:53 -0600 |
commit | a760757b82eb10ce09a890e0a5ea1c76de22b144 (patch) | |
tree | 0a71e324fb16df19d7bc5b1bd02ef974aea628c9 | |
parent | 80c9ad12ba81ab54ac6aad8b413a158d1de52705 (diff) |
set the correct border color when mapping a client
-rw-r--r-- | dwl.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |