tAdd comment to clear things up - glazier - window management experiments
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit b749c3d6b70360d4adf2a20272b0b7acfb9a058a
(DIR) parent 4ac9778d57c9c62bd6bee65fd2744bba41475ad9
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 25 Oct 2019 01:03:40 +0200
Add comment to clear things up
Diffstat:
M glazier.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/glazier.c b/glazier.c
t@@ -345,6 +345,8 @@ cb_mouse_release(xcb_generic_event_t *ev)
cursor.y = 0;
cursor.b = 0;
curwid = scrn->root;
+
+ /* clear last drawn rectangle to avoid leaving artefacts */
outline(scrn->root, 0, 0, 0, 0, 1);
return 0;