summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2022-12-11 16:13:31 -0800
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2022-12-11 16:25:54 -0800
commit6be266b876557458766b640de2b366dcd5a28ec2 (patch)
treef17599952c80ff4b85e547bd3f8ca2a84431a607
parent399201d1c084217fedfa8158a3809e26a2253c5d (diff)
XTestExt: Add missing include for XTest extension
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-rw-r--r--xts5/src/lib/XTestExt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xts5/src/lib/XTestExt.c b/xts5/src/lib/XTestExt.c
index 3fccc3a4..1cbb9317 100644
--- a/xts5/src/lib/XTestExt.c
+++ b/xts5/src/lib/XTestExt.c
@@ -128,6 +128,10 @@ purpose. It is provided "as is" without express or implied warranty.
#include <X11/extensions/XInput.h>
#endif
+#ifdef XTESTEXTENSION
+#include <X11/extensions/XTest.h>
+#endif
+
Status
SimulateKeyPressEvent(dpy, keycode)
Display *dpy;