summaryrefslogtreecommitdiff
path: root/mi/mi.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-01-30 14:34:02 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-23 17:52:39 +1000
commit4026c63e4eb16481bafc1a41ad67cd2556728d40 (patch)
treefae7b707cb28768eaaded5ab55c6b628cea91bf8 /mi/mi.h
parent5a827593f9517fd5593751dd8bd90c611de06c5d (diff)
mi: switch the EQ to contain InternalEvents only.
This gets rid of the nevents parameter, InternalEvents are always a single item per event. Also remove the special DeviceValuator handling in both enqueueing and dequeueing. Custom callback handlers are now broken until fixed. For bisectability, we copy the InternalEvent back into the XI required during POE and friends. Consider this a temporary solution. Note: Because of misc linker bonghits, Xvfb won't link in this revision. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'mi/mi.h')
-rw-r--r--mi/mi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mi/mi.h b/mi/mi.h
index c44ff0650..570aa6016 100644
--- a/mi/mi.h
+++ b/mi/mi.h
@@ -57,6 +57,7 @@ SOFTWARE.
#include "cursor.h"
#include "privates.h"
#include "colormap.h"
+#include "events.h"
#define MiBits CARD32
@@ -201,7 +202,7 @@ extern _X_EXPORT void mieqResizeEvents(
extern _X_EXPORT void mieqEnqueue(
DeviceIntPtr /*pDev*/,
- xEventPtr /*e*/
+ InternalEvent* /*e*/
);
extern _X_EXPORT void mieqSwitchScreen(