Lines Matching defs:stuff
126 StuffToWire (Display *dpy, struct xagstuff *stuff, xXagCreateReq *req)
133 if (stuff->attrib_mask & XagSingleScreenMask)
134 *value++ = stuff->single_screen;
136 if (stuff->attrib_mask & XagDefaultRootMask)
137 *value++ = stuff->default_root;
139 if (stuff->attrib_mask & XagRootVisualMask)
140 *value++ = stuff->root_visual;
142 if (stuff->attrib_mask & XagDefaultColormapMask)
143 *value++ = stuff->default_colormap;
145 if (stuff->attrib_mask & XagBlackPixelMask)
146 *value++ = stuff->black_pixel;
148 if (stuff->attrib_mask & XagWhitePixelMask)
149 *value++ = stuff->white_pixel;
151 if (stuff->attrib_mask & XagAppGroupLeaderMask)
152 *value++ = stuff->app_group_leader;
171 struct xagstuff stuff;
176 stuff.app_group_leader = True;
177 stuff.single_screen = True;
178 stuff.default_root = RootWindow (dpy, DefaultScreen(dpy));
179 stuff.root_visual = root_visual;
180 stuff.default_colormap = default_colormap;
181 stuff.attrib_mask =
185 stuff.black_pixel = black_pixel;
186 stuff.white_pixel = white_pixel;
187 stuff.attrib_mask |= XagBlackPixelMask | XagWhitePixelMask;
194 req->attrib_mask = stuff.attrib_mask;
195 StuffToWire (dpy, &stuff, req);
208 struct xagstuff stuff;
213 stuff.app_group_leader = False;
214 stuff.single_screen = False;
215 stuff.attrib_mask = XagAppGroupLeaderMask | XagSingleScreenMask;
221 req->attrib_mask = stuff.attrib_mask;
222 StuffToWire (dpy, &stuff, req);