FINGOWOULAPWRQRLJHJOCEQR4QAZR6GW5OHM56GMWTYZKRSEGOYQC 2B3SWBLKAAQYLU33YJTU2LQMO337JXHRMWDZA3V3G3IEXIFK5P6QC Q4AL7C3THEGDN44IYB36QATRYRV22JGNBTYA3LD4ZUXGAITRSJ2AC 2GP4MXKEDQMZ7E6TCRSMV2AGN7HLEAHR3QEAC2QFCQQNPMNJSIHQC BE2WICFCSLQ4BYXGGLGJ5WNVX554FZDXI26MZCLIY46W4M7HVGEAC PNZ7OLEKOH5SGRV46BDUGVE2JKS5RVHDMXLLJJZODE6VEZRTKYGAC 5ADZDRHLTSHKS6LZXAWRXRN3NGT3JMIVFCUHWXVOMBVP5TXHUDMQC 7EY3YPO43GHF3LWNI3UZKMMT65UO6DK4LA2X2UC25PAA77KVGSIQC WXDI7LEXSSMEY36AMMHM3BDHXJVMLL3HPSVJOOE7GFJMCA36CB4QC KUB4ULGPNSBXFDH46OMH4SRT2A2R4YFFIYEDKW7OFVJU5TSDOIGQC ST2AX7B3G7YBGOIF45XX3A2DLK2BONI67DHADM4KSLZVPBTUPC5QC }static inline Client *client_get_parent(Client *c){Client *p;#ifdef XWAYLANDif (client_is_x11(c) && c->surface.xwayland->parent)return client_from_wlr_surface(c->surface.xwayland->parent->surface);#endifif (c->surface.xdg->toplevel->parent)return client_from_wlr_surface(c->surface.xdg->toplevel->parent->surface);return NULL;}static inline voidclient_get_size_hints(Client *c, struct wlr_box *max, struct wlr_box *min){struct wlr_xdg_toplevel *toplevel;struct wlr_xdg_toplevel_state *state;#ifdef XWAYLANDif (client_is_x11(c)) {struct wlr_xwayland_surface_size_hints *size_hints;size_hints = c->surface.xwayland->size_hints;if (size_hints) {max->width = size_hints->max_width;max->height = size_hints->max_height;min->width = size_hints->min_width;min->height = size_hints->min_height;}return;}#endiftoplevel = c->surface.xdg->toplevel;state = &toplevel->current;max->width = state->max_width;max->height = state->max_height;min->width = state->min_width;min->height = state->min_height;
}static inline voidclient_get_size_hints(Client *c, struct wlr_box *max, struct wlr_box *min){struct wlr_xdg_toplevel *toplevel;struct wlr_xdg_toplevel_state *state;#ifdef XWAYLANDif (client_is_x11(c)) {struct wlr_xwayland_surface_size_hints *size_hints;size_hints = c->surface.xwayland->size_hints;if (size_hints) {max->width = size_hints->max_width;max->height = size_hints->max_height;min->width = size_hints->min_width;min->height = size_hints->min_height;}return;}#endiftoplevel = c->surface.xdg->toplevel;state = &toplevel->current;max->width = state->max_width;max->height = state->max_height;min->width = state->min_width;min->height = state->min_height;
static inline Client *client_get_parent(Client *c){Client *p;#ifdef XWAYLANDif (client_is_x11(c) && c->surface.xwayland->parent)return client_from_wlr_surface(c->surface.xwayland->parent->surface);#endifif (c->surface.xdg->toplevel->parent)return client_from_wlr_surface(c->surface.xdg->toplevel->parent->surface);