Lines Matching refs:ok
833 Explicitly setting 0 is ok for colors (means to not use a color
1389 int npixels, ok, i;
1395 ok = XAllocColorCells(dpy, cmap, 1, NULL, 0, pixels->pixels, npixels);
1396 if (ok) success = True;
1410 ok = XAllocColorCells(dpy, cmap, 1, NULL, 0,
1412 if (ok) {
1506 int ok;
1512 ok = XAllocColor(dpy, cmap, &request);
1518 if (!ok || request.pixel != color->pixel) {
1519 ok = XAllocColorCells(dpy, cmap, 0, NULL, 0, &pix, 1);
1522 if (!ok || pix != color->pixel) {