/dports/net/freerdp/freerdp-2.5.0/client/X11/ |
H A D | xf_monitor.c | 61 int i, nmonitors = 0; in xf_list_monitors() local 135 int nmonitors = 0; in xf_detect_monitors() local 174 if (vscreen->nmonitors > 16) in xf_detect_monitors() 175 vscreen->nmonitors = 0; in xf_detect_monitors() 177 if (vscreen->nmonitors) in xf_detect_monitors() 202 vscreen->nmonitors = 0; in xf_detect_monitors() 204 if (vscreen->nmonitors) in xf_detect_monitors() 315 if (vscreen->nmonitors > 0) in xf_detect_monitors() 409 nmonitors++; in xf_detect_monitors() 415 if (nmonitors == 0 && vscreen->nmonitors > 0) in xf_detect_monitors() [all …]
|
H A D | xf_disp.c | 55 static UINT xf_disp_sendLayout(DispClientContext* disp, rdpMonitor* monitors, int nmonitors); 295 UINT xf_disp_sendLayout(DispClientContext* disp, rdpMonitor* monitors, int nmonitors) in xf_disp_sendLayout() argument 302 layouts = calloc(nmonitors, sizeof(DISPLAY_CONTROL_MONITOR_LAYOUT)); in xf_disp_sendLayout() 307 for (i = 0; i < nmonitors; i++) in xf_disp_sendLayout() 349 ret = IFCALLRESULT(CHANNEL_RC_OK, disp->SendMonitorLayout, disp, nmonitors, layouts); in xf_disp_sendLayout()
|
/dports/x11/libXrandr/libXrandr-1.5.2/src/ |
H A D | XrrMonitor.c | 37 XRRGetMonitors(Display *dpy, Window window, Bool get_active, int *nmonitors) in XRRGetMonitors() argument 53 *nmonitors = -1; in XRRGetMonitors() 70 rep.nmonitors > INT_MAX / SIZEOF(xRRMonitorInfo) || in XRRGetMonitors() 72 rep.nmonitors * SIZEOF(xRRMonitorInfo) > INT_MAX - rep.noutputs * 4) { in XRRGetMonitors() 79 nmon = rep.nmonitors; in XRRGetMonitors() 149 *nmonitors = nmon; in XRRGetMonitors()
|
/dports/net/freerdp/freerdp-2.5.0/client/Wayland/ |
H A D | wlf_disp.c | 46 static UINT wlf_disp_sendLayout(DispClientContext* disp, rdpMonitor* monitors, size_t nmonitors); 261 UINT wlf_disp_sendLayout(DispClientContext* disp, rdpMonitor* monitors, size_t nmonitors) in wlf_disp_sendLayout() argument 268 layouts = calloc(nmonitors, sizeof(DISPLAY_CONTROL_MONITOR_LAYOUT)); in wlf_disp_sendLayout() 273 for (i = 0; i < nmonitors; i++) in wlf_disp_sendLayout() 315 ret = IFCALLRESULT(CHANNEL_RC_OK, disp->SendMonitorLayout, disp, nmonitors, layouts); in wlf_disp_sendLayout() 383 uint32_t i, nmonitors = UwacDisplayGetNbOutputs(wlc->display); in wlf_list_monitors() local 385 for (i = 0; i < nmonitors; i++) in wlf_list_monitors()
|
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/randr/ |
H A D | rrxinerama.c | 280 int nmonitors = 0; in ProcRRXineramaQueryScreens() local 286 if (!RRMonitorMakeList(pScreen, TRUE, &monitors, &nmonitors)) in ProcRRXineramaQueryScreens() 293 .length = bytes_to_int32(nmonitors * sz_XineramaScreenInfo), in ProcRRXineramaQueryScreens() 294 .number = nmonitors in ProcRRXineramaQueryScreens() 303 for (m = 0; m < nmonitors; m++) in ProcRRXineramaQueryScreens() 307 RRMonitorFreeList(monitors, nmonitors); in ProcRRXineramaQueryScreens()
|
H A D | rrmonitor.c | 623 int nmonitors; in ProcRRGetMonitors() local 634 if (!RRMonitorMakeList(screen, get_active, &monitors, &nmonitors)) in ProcRRGetMonitors() 640 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 646 rep.nmonitors = nmonitors; in ProcRRGetMonitors() 653 swapl(&rep.nmonitors); in ProcRRGetMonitors() 660 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 689 RRMonitorFreeList(monitors, nmonitors); in ProcRRGetMonitors()
|
/dports/x11-servers/xorg-dmx/xorg-server-1.20.13/randr/ |
H A D | rrxinerama.c | 280 int nmonitors = 0; in ProcRRXineramaQueryScreens() local 286 if (!RRMonitorMakeList(pScreen, TRUE, &monitors, &nmonitors)) in ProcRRXineramaQueryScreens() 293 .length = bytes_to_int32(nmonitors * sz_XineramaScreenInfo), in ProcRRXineramaQueryScreens() 294 .number = nmonitors in ProcRRXineramaQueryScreens() 303 for (m = 0; m < nmonitors; m++) in ProcRRXineramaQueryScreens() 307 RRMonitorFreeList(monitors, nmonitors); in ProcRRXineramaQueryScreens()
|
H A D | rrmonitor.c | 623 int nmonitors; in ProcRRGetMonitors() local 634 if (!RRMonitorMakeList(screen, get_active, &monitors, &nmonitors)) in ProcRRGetMonitors() 640 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 646 rep.nmonitors = nmonitors; in ProcRRGetMonitors() 653 swapl(&rep.nmonitors); in ProcRRGetMonitors() 660 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 689 RRMonitorFreeList(monitors, nmonitors); in ProcRRGetMonitors()
|
/dports/x11-servers/xarcan/xarcan-0.6.0/randr/ |
H A D | rrxinerama.c | 280 int nmonitors = 0; in ProcRRXineramaQueryScreens() local 286 if (!RRMonitorMakeList(pScreen, TRUE, &monitors, &nmonitors)) in ProcRRXineramaQueryScreens() 293 .length = bytes_to_int32(nmonitors * sz_XineramaScreenInfo), in ProcRRXineramaQueryScreens() 294 .number = nmonitors in ProcRRXineramaQueryScreens() 303 for (m = 0; m < nmonitors; m++) in ProcRRXineramaQueryScreens() 307 RRMonitorFreeList(monitors, nmonitors); in ProcRRXineramaQueryScreens()
|
H A D | rrmonitor.c | 623 int nmonitors; in ProcRRGetMonitors() local 634 if (!RRMonitorMakeList(screen, get_active, &monitors, &nmonitors)) in ProcRRGetMonitors() 640 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 646 rep.nmonitors = nmonitors; in ProcRRGetMonitors() 653 swapl(&rep.nmonitors); in ProcRRGetMonitors() 660 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 689 RRMonitorFreeList(monitors, nmonitors); in ProcRRGetMonitors()
|
/dports/x11-servers/xwayland/xorg-server-1.20.13/randr/ |
H A D | rrxinerama.c | 280 int nmonitors = 0; in ProcRRXineramaQueryScreens() local 286 if (!RRMonitorMakeList(pScreen, TRUE, &monitors, &nmonitors)) in ProcRRXineramaQueryScreens() 293 .length = bytes_to_int32(nmonitors * sz_XineramaScreenInfo), in ProcRRXineramaQueryScreens() 294 .number = nmonitors in ProcRRXineramaQueryScreens() 303 for (m = 0; m < nmonitors; m++) in ProcRRXineramaQueryScreens() 307 RRMonitorFreeList(monitors, nmonitors); in ProcRRXineramaQueryScreens()
|
H A D | rrmonitor.c | 623 int nmonitors; in ProcRRGetMonitors() local 634 if (!RRMonitorMakeList(screen, get_active, &monitors, &nmonitors)) in ProcRRGetMonitors() 640 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 646 rep.nmonitors = nmonitors; in ProcRRGetMonitors() 653 swapl(&rep.nmonitors); in ProcRRGetMonitors() 660 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 689 RRMonitorFreeList(monitors, nmonitors); in ProcRRGetMonitors()
|
/dports/x11-servers/xorg-server/xorg-server-1.20.13/randr/ |
H A D | rrxinerama.c | 280 int nmonitors = 0; in ProcRRXineramaQueryScreens() local 286 if (!RRMonitorMakeList(pScreen, TRUE, &monitors, &nmonitors)) in ProcRRXineramaQueryScreens() 293 .length = bytes_to_int32(nmonitors * sz_XineramaScreenInfo), in ProcRRXineramaQueryScreens() 294 .number = nmonitors in ProcRRXineramaQueryScreens() 303 for (m = 0; m < nmonitors; m++) in ProcRRXineramaQueryScreens() 307 RRMonitorFreeList(monitors, nmonitors); in ProcRRXineramaQueryScreens()
|
H A D | rrmonitor.c | 623 int nmonitors; in ProcRRGetMonitors() local 634 if (!RRMonitorMakeList(screen, get_active, &monitors, &nmonitors)) in ProcRRGetMonitors() 640 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 646 rep.nmonitors = nmonitors; in ProcRRGetMonitors() 653 swapl(&rep.nmonitors); in ProcRRGetMonitors() 660 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 689 RRMonitorFreeList(monitors, nmonitors); in ProcRRGetMonitors()
|
/dports/x11-servers/xephyr/xorg-server-1.20.13/randr/ |
H A D | rrxinerama.c | 280 int nmonitors = 0; in ProcRRXineramaQueryScreens() local 286 if (!RRMonitorMakeList(pScreen, TRUE, &monitors, &nmonitors)) in ProcRRXineramaQueryScreens() 293 .length = bytes_to_int32(nmonitors * sz_XineramaScreenInfo), in ProcRRXineramaQueryScreens() 294 .number = nmonitors in ProcRRXineramaQueryScreens() 303 for (m = 0; m < nmonitors; m++) in ProcRRXineramaQueryScreens() 307 RRMonitorFreeList(monitors, nmonitors); in ProcRRXineramaQueryScreens()
|
H A D | rrmonitor.c | 623 int nmonitors; in ProcRRGetMonitors() local 634 if (!RRMonitorMakeList(screen, get_active, &monitors, &nmonitors)) in ProcRRGetMonitors() 640 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 646 rep.nmonitors = nmonitors; in ProcRRGetMonitors() 653 swapl(&rep.nmonitors); in ProcRRGetMonitors() 660 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 689 RRMonitorFreeList(monitors, nmonitors); in ProcRRGetMonitors()
|
/dports/x11-servers/xorg-vfbserver/xorg-server-1.20.13/randr/ |
H A D | rrxinerama.c | 280 int nmonitors = 0; in ProcRRXineramaQueryScreens() local 286 if (!RRMonitorMakeList(pScreen, TRUE, &monitors, &nmonitors)) in ProcRRXineramaQueryScreens() 293 .length = bytes_to_int32(nmonitors * sz_XineramaScreenInfo), in ProcRRXineramaQueryScreens() 294 .number = nmonitors in ProcRRXineramaQueryScreens() 303 for (m = 0; m < nmonitors; m++) in ProcRRXineramaQueryScreens() 307 RRMonitorFreeList(monitors, nmonitors); in ProcRRXineramaQueryScreens()
|
H A D | rrmonitor.c | 623 int nmonitors; in ProcRRGetMonitors() local 634 if (!RRMonitorMakeList(screen, get_active, &monitors, &nmonitors)) in ProcRRGetMonitors() 640 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 646 rep.nmonitors = nmonitors; in ProcRRGetMonitors() 653 swapl(&rep.nmonitors); in ProcRRGetMonitors() 660 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 689 RRMonitorFreeList(monitors, nmonitors); in ProcRRGetMonitors()
|
/dports/x11-servers/xorg-nestserver/xorg-server-1.20.13/randr/ |
H A D | rrxinerama.c | 280 int nmonitors = 0; in ProcRRXineramaQueryScreens() local 286 if (!RRMonitorMakeList(pScreen, TRUE, &monitors, &nmonitors)) in ProcRRXineramaQueryScreens() 293 .length = bytes_to_int32(nmonitors * sz_XineramaScreenInfo), in ProcRRXineramaQueryScreens() 294 .number = nmonitors in ProcRRXineramaQueryScreens() 303 for (m = 0; m < nmonitors; m++) in ProcRRXineramaQueryScreens() 307 RRMonitorFreeList(monitors, nmonitors); in ProcRRXineramaQueryScreens()
|
H A D | rrmonitor.c | 623 int nmonitors; in ProcRRGetMonitors() local 634 if (!RRMonitorMakeList(screen, get_active, &monitors, &nmonitors)) in ProcRRGetMonitors() 640 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 646 rep.nmonitors = nmonitors; in ProcRRGetMonitors() 653 swapl(&rep.nmonitors); in ProcRRGetMonitors() 660 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 689 RRMonitorFreeList(monitors, nmonitors); in ProcRRGetMonitors()
|
/dports/x11-servers/xwayland-devel/xorg-xserver-xorg-server-21.0.99.1-177-g9e5a37961/randr/ |
H A D | rrxinerama.c | 280 int nmonitors = 0; in ProcRRXineramaQueryScreens() local 286 if (!RRMonitorMakeList(pScreen, TRUE, &monitors, &nmonitors)) in ProcRRXineramaQueryScreens() 293 .length = bytes_to_int32(nmonitors * sz_XineramaScreenInfo), in ProcRRXineramaQueryScreens() 294 .number = nmonitors in ProcRRXineramaQueryScreens() 303 for (m = 0; m < nmonitors; m++) in ProcRRXineramaQueryScreens() 307 RRMonitorFreeList(monitors, nmonitors); in ProcRRXineramaQueryScreens()
|
H A D | rrmonitor.c | 623 int nmonitors; in ProcRRGetMonitors() local 634 if (!RRMonitorMakeList(screen, get_active, &monitors, &nmonitors)) in ProcRRGetMonitors() 640 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 646 rep.nmonitors = nmonitors; in ProcRRGetMonitors() 653 swapl(&rep.nmonitors); in ProcRRGetMonitors() 660 for (m = 0; m < nmonitors; m++) { in ProcRRGetMonitors() 689 RRMonitorFreeList(monitors, nmonitors); in ProcRRGetMonitors()
|
/dports/x11/srandrd/srandrd-0.6.0-10-g4e4b754/ |
H A D | srandrd.c | 124 int nmonitors, nscreens; in get_sid() local 127 mi = XRRGetMonitors(dpy, DefaultRootWindow(dpy), True, &nmonitors); in get_sid() 130 for (j = 0; j < nmonitors; ++j) { in get_sid() 139 if (si && mi && j < nmonitors) { in get_sid() 208 int i, j, k, edidlen, nmonitors, nscreens, sid = -1; in iter_crtcs() local 211 mi = XRRGetMonitors(dpy, DefaultRootWindow(dpy), True, &nmonitors); in iter_crtcs() 215 for (j = 0; j < nmonitors; ++j) { in iter_crtcs()
|
/dports/net-mgmt/virt-viewer/virt-viewer-11.0/tests/ |
H A D | test-monitor-mapping.c | 39 is_valid_monitor_mapping(const gchar *mapping, gint nmonitors) in is_valid_monitor_mapping() argument 53 GHashTable *map = virt_viewer_parse_monitor_mappings(mappings, nmappings, nmonitors); in is_valid_monitor_mapping()
|
/dports/lang/intercal/intercal-0.31/src/ |
H A D | yuk.c | 80 static int nmonitors = 0; variable 239 i=nmonitors; in yukline() 714 monitors[nmonitors++]=templine; in yukline() 715 if(nmonitors>=80) ick_lose(IE811,emitlineno,(const char*)NULL); in yukline() 725 i=nmonitors; in yukline() 728 memmove(monitors+i,monitors+i+1,sizeof(int)*(nmonitors-i)); in yukline() 729 nmonitors--; in yukline()
|