mirror of
https://github.com/robotn/gohook.git
synced 2024-11-22 11:36:47 +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) {
|
if (hook->input.connection != NULL) {
|
||||||
xcb_disconnect(hook->input.connection);
|
// xcb_disconnect(hook->input.connection);
|
||||||
hook->input.connection = NULL;
|
hook->input.connection = NULL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user