Lines Matching defs:monitor
785 XF86VidModeMonitor monitor;
791 if (XF86VidModeGetMonitor(dpy, DefaultScreen(dpy), &monitor)) {
794 monitor.vendor == NULL ? "" : monitor.vendor,
795 monitor.model == NULL ? "" : monitor.model);
797 monitor.nhsync, monitor.nvsync);
798 for (int i = 0; i < monitor.nhsync; i++) {
800 monitor.hsync[i].lo, monitor.hsync[i].hi);
802 for (int i = 0; i < monitor.nvsync; i++) {
804 monitor.vsync[i].lo, monitor.vsync[i].hi);
806 XFree(monitor.vendor);
807 XFree(monitor.model);
808 XFree(monitor.hsync);
809 XFree(monitor.vsync);