tRedraw border on mouse_release to clear outline - glazier - window management experiments
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 10d2653f98a11ff54a2f22e8e13f4ea289bdc979
(DIR) parent 35519bdb1e4fe8053913ae5f3cad90f58d7ab9d4
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Sun, 7 Jun 2020 12:03:40 +0200
Redraw border on mouse_release to clear outline
Diffstat:
M glazier.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/glazier.c b/glazier.c
t@@ -456,6 +456,7 @@ cb_mouse_release(xcb_generic_event_t *ev)
w = wm_get_attribute(curwid, ATTR_W);
h = wm_get_attribute(curwid, ATTR_H);
xcb_clear_area(conn, 1, curwid, 0, 0, w, h);
+ wm_set_border(-1, border_color_active, curwid);
return 0;
}