From 3df4cff48b39188736199c3c05daf908c38fc630 Mon Sep 17 00:00:00 2001 From: vCaesar Date: Sat, 22 Apr 2017 19:50:38 +0800 Subject: [PATCH] Fix invalid size --- event/hook/x11/hook_c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event/hook/x11/hook_c.h b/event/hook/x11/hook_c.h index 5813cc2..4be4b60 100644 --- a/event/hook/x11/hook_c.h +++ b/event/hook/x11/hook_c.h @@ -1019,7 +1019,7 @@ static int xrecord_start() { } if (hook->input.connection != NULL) { - xcb_disconnect(hook->input.connection); + // xcb_disconnect(hook->input.connection); hook->input.connection = NULL; } #endif