Lines Matching defs:geo
113 xcb_get_geometry_reply_t *geo)
120 if (!p || !geo)
146 c->x = FFMIN(FFMAX(0, x), geo->width - w);
147 c->y = FFMIN(FFMAX(0, y), geo->height - h);
334 xcb_get_geometry_reply_t *geo,
421 xcb_get_geometry_reply_t *geo = NULL;
438 geo = xcb_get_geometry_reply(c->conn, gc, NULL);
439 if (!geo) {
450 free(geo);
460 xcbgrab_reposition(s, p, geo);
478 xcbgrab_draw_mouse(s, pkt, p, geo, win_x, win_y);
482 free(geo);
577 xcb_get_geometry_reply_t *geo;
591 geo = xcb_get_geometry_reply(c->conn, gc, NULL);
592 if (!geo) {
598 c->width = geo->width;
599 c->height = geo->height;
602 if (c->x + c->width > geo->width ||
603 c->y + c->height > geo->height) {
609 geo->width, geo->height);
610 free(geo);
619 ret = pixfmt_from_pixmap_format(s, geo->depth, &st->codecpar->format, &c->bpp);
620 free(geo);