Lines Matching defs:display
300 Bool XineramaGetState(Display * display, int screen_number)
302 XExtDisplayInfo *info = find_display (display);
317 if (XPanoramiXQueryVersion(display, &maj, &min) == 0) {
321 return XineramaIsActive(display);
328 Status XineramaGetInfo(Display * display, int screen_number, XRectangle *
339 if(!XineramaGetState(display, screen_number))
342 if (XPanoramiXQueryVersion(display, &maj, &min) == 0) {
349 xsi = XineramaQueryScreens(display, &framebuffercount);
371 XPanoramiXGetScreenCount(display, win, &panoramiX_info);
390 if(!XGetXineramaInfo(display,screen_number,
391 (XID) RootWindow(display,screen_number),info))
474 Status XineramaGetCenterHint(Display* display, int screen_number,
494 xiGetState = XineramaGetState(display, screen_number);
495 xiGetInfo = XineramaGetInfo(display, screen_number, rects, hints, &fbs);
497 if (xrdb = XrmGetDatabase(display))
550 *xret = (WidthOfScreen(ScreenOfDisplay(display, 0))) / 2;
551 *yret = (HeightOfScreen(ScreenOfDisplay(display, 0))) / 2;
555 if ((x >= 0) && (x < WidthOfScreen(ScreenOfDisplay(display, 0))))
558 *xret = (WidthOfScreen(ScreenOfDisplay(display, 0))) / 2;
560 if ((y >= 0) && (y < HeightOfScreen(ScreenOfDisplay(display, 0))))
563 *yret = (HeightOfScreen(ScreenOfDisplay(display, 0))) / 2;
580 if ((x >= 0) && (x < WidthOfScreen(ScreenOfDisplay(display, 0))))
583 *xret = (WidthOfScreen(ScreenOfDisplay(display, 0))) / 2;
585 if ((y >= 0) && (y < HeightOfScreen(ScreenOfDisplay(display, 0))))
588 *yret = (HeightOfScreen(ScreenOfDisplay(display, 0))) / 2;