~ubuntu-branches/ubuntu/vivid/xorg-server/vivid

« back to all changes in this revision

Viewing changes to hw/xfree86/common/xf86Events.c

  • Committer: Package Import Robot
  • Author(s): Maarten Lankhorst
  • Date: 2013-07-03 12:03:57 UTC
  • mfrom: (1.1.56)
  • Revision ID: package-import@ubuntu.com-20130703120357-caosebpn11zu2zj0
Tags: 2:1.14.1-0ubuntu0.8
Use correct version for libxfixes3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
272
272
    }
273
273
 
274
274
    if (err >= 0) {             /* we don't want the handlers called if select() */
275
 
        IHPtr ih;               /* returned with an error condition, do we?      */
 
275
        IHPtr ih, ih_tmp;       /* returned with an error condition, do we?      */
276
276
 
277
 
        for (ih = InputHandlers; ih; ih = ih->next) {
 
277
        nt_list_for_each_entry_safe(ih, ih_tmp, InputHandlers, next) {
278
278
            if (ih->enabled && ih->fd >= 0 && ih->ihproc &&
279
279
                (FD_ISSET(ih->fd, ((fd_set *) pReadmask)) != 0)) {
280
280
                ih->ihproc(ih->fd, ih->data);
377
377
xf86ReleaseKeys(DeviceIntPtr pDev)
378
378
{
379
379
    KeyClassPtr keyc;
380
 
    int i, sigstate;
 
380
    int i;
381
381
 
382
382
    if (!pDev || !pDev->key)
383
383
        return;