Lines Matching refs:from_info
672 XRROutputInfo *from_info = NULL, *to_info = NULL;
683 from_info = XRRGetOutputInfo(clone->dst.dpy, from_res, clone->dst.rr_output);
684 if (from_info == NULL)
690 from_info->timestamp, clone->timestamp));
701 __func__, (long)clone->dst.rr_crtc, (long)from_info->crtc));
702 if (clone->dst.rr_crtc == from_info->crtc) {
714 for (j = 0; j < from_info->nmode; j++) {
715 old = lookup_mode(from_res, from_info->modes[j]);
728 if (i == from_info->nmode && i == to_info->nmode) {
736 if (from_info->crtc != clone->dst.rr_crtc) {
739 if (disable_crtc(clone->dst.dpy, from_res, from_info->crtc)) {
743 XRRCrtcInfo *c = XRRGetCrtcInfo(clone->dst.dpy, from_res, from_info->crtc);
771 for (i = 0; i < from_info->nmode; i++) {
775 mode = lookup_mode(from_res, from_info->modes[i]);
779 old = lookup_mode(from_res, from_info->modes[j]);
805 "%s.%ld-%s", clone->src.name, (long)from_info->modes[i], mode->name);
819 clone->timestamp = from_info->timestamp;
826 if (from_info)
827 XRRFreeOutputInfo(from_info);