~ubuntu-branches/ubuntu/lucid/libx11/lucid

« back to all changes in this revision

Viewing changes to src/NextEvent.c

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2009-01-17 16:34:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090117163454-gaey3cd32xyavueo
Tags: 2:1.1.99.2-1build1
Fakesync with Debian, all previous Ubuntu changes are included
in the new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#endif
33
33
#include "Xlibint.h"
34
34
 
35
 
/* 
 
35
/*
36
36
 * Return next event in queue, or if none, flush output and wait for
37
37
 * events.
38
38
 */
43
43
        register XEvent *event)
44
44
{
45
45
        register _XQEvent *qelt;
46
 
        
 
46
 
47
47
        LockDisplay(dpy);
48
 
        
 
48
 
49
49
        if (dpy->head == NULL)
50
50
            _XReadEvents(dpy);
51
51
        qelt = dpy->head;