Skip to content

Commit 087ec35

Browse files
committed
Don't wait for a response from X when typing a key
1 parent 8ae87a9 commit 087ec35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/keypress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
(XTestFakeKeyEvent(display, \
2323
XKeysymToKeycode(display, key), \
2424
is_press, CurrentTime), \
25-
XSync(display, false))
25+
XFlush(display))
2626
#define X_KEY_EVENT_WAIT(display, key, is_press) \
2727
(X_KEY_EVENT(display, key, is_press))
2828
#endif

0 commit comments

Comments
 (0)