summaryrefslogtreecommitdiff
path: root/mi/mi.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2007-03-21 00:10:38 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2007-03-21 00:10:38 +0200
commit80d29475b9a2ebbb303a8e324e09a15c528d5556 (patch)
tree4a2963bad905ae993908d0636dd3f208e30f292d /mi/mi.h
parentb8df961843a95b29258ae9c5d46ccfc620d8de1c (diff)
mieq: Allow event handlers for arbitrary events to be set
Allow arbitrary events to use mieq by letting custom handlers be set.
Diffstat (limited to 'mi/mi.h')
-rw-r--r--mi/mi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mi/mi.h b/mi/mi.h
index 8d9d120bd..53b5c4487 100644
--- a/mi/mi.h
+++ b/mi/mi.h
@@ -186,6 +186,9 @@ extern void mieqProcessInputEvents(
void
);
+typedef void (*mieqHandler)(int, xEventPtr, DeviceIntPtr, int);
+void mieqSetHandler(int event, mieqHandler handler);
+
/* miexpose.c */
extern RegionPtr miHandleExposures(