Lines Matching refs:screen
75 Screen *screen,
79 register Colormap cmap = DefaultColormapOfScreen(screen);
90 totalpix = 1<<PlanesOfScreen(screen);
118 if(!XAllocColorCells(DisplayOfScreen(screen), cmap, 0, &masks, 0,
141 XQueryColor(DisplayOfScreen(screen), cmap, &color);
142 XSync(DisplayOfScreen(screen), 0); /* make sure any error is reported */
148 XStoreColor(DisplayOfScreen(screen), cmap, &color);
162 XSync(DisplayOfScreen(screen), 0);
178 XQueryColors(DisplayOfScreen(screen), cmap, *colors, *ncolors);
193 Screen *screen,
197 XGrabServer(DisplayOfScreen(screen));
198 cmc_record(screen, ncolors, colors);
199 XUngrabServer(DisplayOfScreen(screen));
204 ** For each screen for which the default colormap is dynamic indexed
232 /* For each screen of display ... */
234 Screen *screen = ScreenOfDisplay(dpy, scr_num);
239 if (!dynamic_indexed_default_visual(screen)) {
241 warning("default visual for screen %d is not dynamic indexed",
243 warning("no colors saved for screen %d", scr_num );
253 cmc_record_protected(screen, &ncolors, &colors);
255 /* Save read-only cells for screen in workspace color file */