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

« back to all changes in this revision

Viewing changes to src/InitExt.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:
46
46
{
47
47
        XExtCodes codes;        /* temp. place for extension information. */
48
48
        register _XExtension *ext;/* need a place to build it all */
49
 
        if (!XQueryExtension(dpy, name, 
 
49
        if (!XQueryExtension(dpy, name,
50
50
                &codes.major_opcode, &codes.first_event,
51
51
                &codes.first_error)) return (NULL);
52
52
 
61
61
        ext->codes = codes;
62
62
        (void) strcpy(ext->name, name);
63
63
 
64
 
        /* chain it onto the display list */    
 
64
        /* chain it onto the display list */
65
65
        ext->next = dpy->ext_procs;
66
66
        dpy->ext_procs = ext;
67
67
        UnlockDisplay (dpy);
363
363
        if (!ext) {
364
364
            e->next_flush = dpy->flushes;
365
365
            dpy->flushes = e;
366
 
        }           
 
366
        }
367
367
        UnlockDisplay(dpy);
368
368
        return (BeforeFlushType)oldproc;
369
369
}