~mil/sxmo-svkbd

f3a0a23f19611b0da371cb8170053513335b61f8 — Miles Alan 1 year, 1 month ago 76e7e35
Fix SIGTERM functionality by making sure to sync before free in cleanup()
1 files changed, 1 insertions(+), 1 deletions(-)

M svkbd.c
M svkbd.c => svkbd.c +1 -1
@@ 193,9 193,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);