summaryrefslogtreecommitdiff
path: root/src/termhooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 137e77ac2ef..4672861603c 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -235,7 +235,10 @@ enum event_kind
/* Non-key system events (e.g. application menu events) */
, NS_NONKEY_EVENT
#endif
-
+#ifdef HAVE_XWIDGETS
+ /* events generated by xwidgets*/
+ , XWIDGET_EVENT
+#endif
#ifdef USE_FILE_NOTIFY
/* File or directory was changed. */
, FILE_NOTIFY_EVENT