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

« back to all changes in this revision

Viewing changes to src/Window.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:
43
43
 
44
44
    if (valuemask & CWBackPixmap)
45
45
        *value++ = attributes->background_pixmap;
46
 
        
 
46
 
47
47
    if (valuemask & CWBackPixel)
48
48
        *value++ = attributes->background_pixel;
49
49
 
61
61
 
62
62
    if (valuemask & CWBackingStore)
63
63
        *value++ = attributes->backing_store;
64
 
    
 
64
 
65
65
    if (valuemask & CWBackingPlanes)
66
66
        *value++ = attributes->backing_planes;
67
67
 
102
102
Window XCreateWindow(
103
103
    register Display *dpy,
104
104
    Window parent,
105
 
    int x, 
 
105
    int x,
106
106
    int y,
107
 
    unsigned int width, 
108
 
    unsigned int height, 
 
107
    unsigned int width,
 
108
    unsigned int height,
109
109
    unsigned int borderWidth,
110
110
    int depth,
111
111
    unsigned int class,
133
133
    wid = req->wid = XAllocID(dpy);
134
134
    valuemask &= AllMaskBits;
135
135
    if ((req->mask = valuemask))
136
 
        _XProcessWindowAttributes (dpy, (xChangeWindowAttributesReq *)req, 
 
136
        _XProcessWindowAttributes (dpy, (xChangeWindowAttributesReq *)req,
137
137
                        valuemask, attributes);
138
138
    UnlockDisplay(dpy);
139
139
    SyncHandle();