eventqueue.c File Reference

Go to the source code of this file.

Data Structures

struct  _MetaEventQueue

Functions

static gboolean eq_prepare (GSource *source, gint *timeout)
static gboolean eq_check (GSource *source)
static gboolean eq_dispatch (GSource *source, GSourceFunc callback, gpointer user_data)
static void eq_destroy (GSource *source)
MetaEventQueuemeta_event_queue_new (Display *display, MetaEventQueueFunc func, gpointer data)
void meta_event_queue_free (MetaEventQueue *eq)
static gboolean eq_events_pending (MetaEventQueue *eq)
static void eq_queue_events (MetaEventQueue *eq)

Variables

static GSourceFuncs eq_funcs


Function Documentation

static gboolean eq_check ( GSource *  source  )  [static]

Definition at line 128 of file eventqueue.c.

References eq_events_pending(), FALSE, and _MetaEventQueue::poll_fd.

static void eq_destroy ( GSource *  source  )  [static]

Definition at line 166 of file eventqueue.c.

References _MetaEventQueue::events.

static gboolean eq_dispatch ( GSource *  source,
GSourceFunc  callback,
gpointer  user_data 
) [static]

Definition at line 141 of file eventqueue.c.

References eq_queue_events(), _MetaEventQueue::events, and TRUE.

static gboolean eq_events_pending ( MetaEventQueue eq  )  [static]

Definition at line 92 of file eventqueue.c.

References _MetaEventQueue::display, and _MetaEventQueue::events.

Referenced by eq_check(), and eq_prepare().

static gboolean eq_prepare ( GSource *  source,
gint *  timeout 
) [static]

Definition at line 116 of file eventqueue.c.

References eq_events_pending().

static void eq_queue_events ( MetaEventQueue eq  )  [static]

Definition at line 98 of file eventqueue.c.

References _MetaEventQueue::display, and _MetaEventQueue::events.

Referenced by eq_dispatch().

void meta_event_queue_free ( MetaEventQueue eq  ) 

Definition at line 82 of file eventqueue.c.

MetaEventQueue* meta_event_queue_new ( Display *  display,
MetaEventQueueFunc  func,
gpointer  data 
)


Variable Documentation

GSourceFuncs eq_funcs [static]

Initial value:

Definition at line 35 of file eventqueue.c.

Referenced by meta_event_queue_new().


Generated on Sat Aug 23 22:04:20 2008 for metacity by  doxygen 1.5.5