svkbd

simple virtual keyboard
git clone git://git.suckless.org/svkbd
Log | Files | Refs | README | LICENSE

commit b488ae6410567d64a48eb676f7038c68f3eb0cc2
parent c8ee269e7344f7e1deeaa8c4ce1b4a16c6f5b26b
Author: Miles Alan <m@milesalan.com>
Date:   Sun,  2 Aug 2020 15:46:13 +0200

Fix SIGTERM functionality by making sure to sync before free in cleanup()

Diffstat:
Msvkbd.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/svkbd.c b/svkbd.c @@ -196,9 +196,9 @@ cleanup(void) { for (i = 0; i < SchemeLast; i++) free(scheme[i]); - drw_free(drw); drw_sync(drw); XSync(dpy, False); + drw_free(drw); XDestroyWindow(dpy, win); XSync(dpy, False); XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);