Lines Matching refs:snum
337 for (int snum = 0; snum < ScreenCount(dpy); snum++) {
338 if (RootWindow(dpy, snum) == root) return snum;
461 int snum;
466 snum = XRRRootToScreen(dpy, rcevent->window);
467 if (snum != -1) {
468 dpy->screens[snum].width = rcevent->width;
469 dpy->screens[snum].height = rcevent->height;
480 snum = XRRRootToScreen(dpy,
482 if (snum < 0)
486 dpy->screens[snum].width = scevent->height;
487 dpy->screens[snum].height = scevent->width;
488 dpy->screens[snum].mwidth = scevent->mheight;
489 dpy->screens[snum].mheight = scevent->mwidth;
491 dpy->screens[snum].width = scevent->width;
492 dpy->screens[snum].height = scevent->height;
493 dpy->screens[snum].mwidth = scevent->mwidth;
494 dpy->screens[snum].mheight = scevent->mheight;
496 XRenderSetSubpixelOrder (dpy, snum, scevent->subpixel_order);
507 if (xrri->config[snum] != NULL) {
508 XFree (xrri->config[snum]);
509 xrri->config[snum] = NULL;