the clips for xwayland and xdg clients are pretty similar, after all we only need to adjust x and y for xdg clients
RDRGMST2IE2F37SYTWWP2637WU65KX6QZ5CUVXIA4JSMPZG4ZCJAC
EDLLLXC2W4MYKM3B3LSFVTAR7SXDF63FMCCGIEIXBBM6HXR2MBUAC
2GP4MXKEDQMZ7E6TCRSMV2AGN7HLEAHR3QEAC2QFCQQNPMNJSIHQC
struct wlr_box xdg_geom = {0}; *clip = (struct wlr_box){ .x = 0, .y = 0, .width = c->geom.width - c->bw, .height = c->geom.height - c->bw, };
struct wlr_box xdg_geom = {0};
*clip = (struct wlr_box){
.x = 0,
.y = 0,
.width = c->geom.width - c->bw,
.height = c->geom.height - c->bw,
};
if (client_is_x11(c)) { *clip = (struct wlr_box){ .x = 0, .y = 0, .width = c->geom.width - c->bw, .height = c->geom.height - c->bw};
if (client_is_x11(c)) {
.height = c->geom.height - c->bw};
if (client_is_x11(c))
}
*clip = (struct wlr_box){ .x = c->surface.xdg->pending.geometry.x, .y = c->surface.xdg->pending.geometry.y, .width = c->geom.width - c->bw, .height = c->geom.height - c->bw};
.x = c->surface.xdg->pending.geometry.x,
.y = c->surface.xdg->pending.geometry.y,
wlr_xdg_surface_get_geometry(c->surface.xdg, &xdg_geom); clip->x = xdg_geom.x; clip->y = xdg_geom.y;
wlr_xdg_surface_get_geometry(c->surface.xdg, &xdg_geom);
clip->x = xdg_geom.x;
clip->y = xdg_geom.y;