#include "dmx.h"
#include "dmxeq.h"
#include "dmxinput.h"
#include "dmxlog.h"
#include "dmxdpms.h"
#include "inputstr.h"
#include "scrnintstr.h"
#include "XIproto.h"
#include "extinit.h"
Data Structures | |
struct | _Event |
struct | _EventQueue |
Defines | |
#define | QUEUE_SIZE 256 |
Typedefs | |
typedef _Event | EventRec |
typedef _Event * | EventPtr |
typedef _EventQueue | EventQueueRec |
typedef _EventQueue * | EventQueuePtr |
Functions | |
void | dmxeqEnqueue (xEvent *e) |
void | dmxeqSwitchScreen (ScreenPtr pScreen, Bool fromDIX) |
void | dmxeqProcessInputEvents (void) |
|
The size of our queue. (The queue provided by mi/mieq.c has a size of 256.) |
|
Information about the event. |
|
Event queue. |
|
Event queue. |
|
Information about the event. |
|
This function adds an event to the end of the queue. If the event is an XInput event, then the next event (the valuator event) is also stored in the queue. If the new event has a time before the time of the last event currently on the queue, then the time is updated for the new event. Must be reentrant with ProcessInputEvents. Assumption: dmxeqEnqueue will never be interrupted. If this is called from both signal handlers and regular code, make sure the signal is suspended when called from regular code. |
|
This function is called from ProcessInputEvents() to remove events from the queue and process them. |
|
Make pScreen the new screen for enqueueing events. If fromDIX is TRUE, also make pScreen the new screen for dequeuing events. |