Lines Matching refs:screen
74 cmc_record (screen, ncolors, colors)
75 Screen *screen;
80 register Colormap cmap = DefaultColormapOfScreen(screen);
91 totalpix = 1<<PlanesOfScreen(screen);
119 if(!XAllocColorCells(DisplayOfScreen(screen), cmap, 0, &masks, 0,
142 XQueryColor(DisplayOfScreen(screen), cmap, &color);
143 XSync(DisplayOfScreen(screen), 0); /* make sure any error is reported */
149 XStoreColor(DisplayOfScreen(screen), cmap, &color);
163 XSync(DisplayOfScreen(screen), 0);
179 XQueryColors(DisplayOfScreen(screen), cmap, *colors, *ncolors);
193 cmc_record_protected (screen, ncolors, colors)
194 Screen *screen;
199 XGrabServer(DisplayOfScreen(screen));
200 cmc_record(screen, ncolors, colors);
201 XUngrabServer(DisplayOfScreen(screen));
206 ** For each screen for which the default colormap is dynamic indexed
235 /* For each screen of display ... */
237 Screen *screen = ScreenOfDisplay(dpy, scr_num);
242 if (!dynamic_indexed_default_visual(screen)) {
244 warning("default visual for screen %d is not dynamic indexed",
246 warning("no colors saved for screen %d", scr_num );
256 cmc_record_protected(screen, &ncolors, &colors);
258 /* Save read-only cells for screen in workspace color file */