Merge branch 'master' of https://github.com/i3/i3lock
This commit is contained in:
commit
3131486378
6
xcb.c
6
xcb.c
|
@ -236,6 +236,9 @@ bool grab_pointer_and_keyboard(xcb_connection_t *conn, xcb_screen_t *screen, xcb
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* In case the grab failed, we still need to free the reply */
|
||||||
|
free(preply);
|
||||||
|
|
||||||
/* Make this quite a bit slower */
|
/* Make this quite a bit slower */
|
||||||
usleep(50);
|
usleep(50);
|
||||||
|
|
||||||
|
@ -270,6 +273,9 @@ bool grab_pointer_and_keyboard(xcb_connection_t *conn, xcb_screen_t *screen, xcb
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* In case the grab failed, we still need to free the reply */
|
||||||
|
free(kreply);
|
||||||
|
|
||||||
/* Make this quite a bit slower */
|
/* Make this quite a bit slower */
|
||||||
usleep(50);
|
usleep(50);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue