Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix SIGTERM functionality by making sure to sync before free in cleanup() - svk…
git clone git://git.suckless.org/svkbd
Log
Files
Refs
README
LICENSE
---
commit b488ae6410567d64a48eb676f7038c68f3eb0cc2
parent c8ee269e7344f7e1deeaa8c4ce1b4a16c6f5b26b
Author: Miles Alan <[email protected]>
Date: Sun, 2 Aug 2020 15:46:13 +0200
Fix SIGTERM functionality by making sure to sync before free in cleanup()
Diffstat:
M svkbd.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);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.