mirror of
https://github.com/robotn/gohook.git
synced 2024-11-25 13:56:52 +08:00
Fix invalid size
This commit is contained in:
parent
16089b2aa9
commit
3df4cff48b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user