tSet active border color during takeover() - glazier - window management experiments
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit ccb463f6bf9e03b746e73f50f51a4dc27607a842
(DIR) parent f34353b39ee245b298bef4288cc31d7379fc88f5
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Sun, 27 Oct 2019 09:19:30 +0100
Set active border color during takeover()
Diffstat:
M glazier.c | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/glazier.c b/glazier.c
t@@ -180,6 +180,10 @@ takeover()
wm_set_border(border, border_color, wid);
}
+ wid = wm_get_focus();
+ if (wid != scrn->root)
+ wm_set_border(border, border_color_active, wid);
+
return n;
}