mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-26 21:12:25 +00:00
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>
This commit is contained in:
parent
5a827593f9
commit
4026c63e4e
5 changed files with 85 additions and 146 deletions
3
mi/mi.h
3
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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue