Lines Matching defs:screen
68 static int screen;
613 fprintf (stderr, "screen %d: revert\n", screen);
618 DisplayWidth (dpy, screen),
619 DisplayHeight (dpy, screen),
620 DisplayWidthMM (dpy, screen),
621 DisplayHeightMM (dpy, screen));
632 if (fb_width == DisplayWidth (dpy, screen) &&
633 fb_height == DisplayHeight (dpy, screen) &&
634 fb_width_mm == DisplayWidthMM (dpy, screen) &&
635 fb_height_mm == DisplayHeightMM (dpy, screen))
642 fprintf (stderr, "screen %d: %dx%d %dx%d mm %6.2fdpi\n", screen,
659 /* next reset screen size */
715 * sure the old size fits then new screen
750 * the screen so that apps which notice the resize
757 * Set the screen size
1006 fprintf (stderr, "screen cannot be larger than %dx%d (desired size %dx%d)\n",
1162 fatal ("could not get screen resources");
1900 screen = DefaultScreen (dpy);
1901 root = RootWindow (dpy, screen);
1955 fb_width_mm = DisplayWidthMM (dpy, screen);
1956 fb_height_mm = DisplayHeightMM (dpy, screen);
1957 dpi = (25.4 * DisplayHeight (dpy, screen)) / DisplayHeightMM(dpy, screen);
1961 fatal ("could not get screen resources\n");
2042 fprintf(stderr, "too small screen, skipping side view\n");