ZIXAFAJJEKSFECJJW57MQ2Z666IZSJXU5FVAQ2JLG34BEJIV322AC R6OKMSUKACWM6MN6IOICU5P2YZ3RRME6NO4JLYMYB5VYDFRLYSTQC BI7H3J3BRWCCZEPPL3RBWEG5OKN25TCVVP3Z2CBIARI56FJS2GWQC A6QIEZ3PAANDTQ3UKWBUA5IXN2ASFB3GCFJQNUP3ONNX3I4JFE3QC 4QUF4MKRSB5LYYS5FSYTCDSIEMYIERI2BQZLRGJ3GIGVYCPJVEPAC 6V3JKJZJ7KBS5I3Q266ZCRJYVO56ZQKLJL4EOHN6XC222CZFXCDQC LJJH53FPOX3RP5PCHNORRMTUSV4DXYYP2A47X6VDZ5KZI6T2DEOAC 7B74AT3BXYB7PVW4F6SGQNPMHOU5TEV5TZ54CG6VSQI46XSEKWXQC HWS332I73ETH3YIIOCQO7WB7VPQICME6GGXFJ7EUWDH5O3KA27QQC OYZELWD247C2GT4QAW6YECUCA2GRLG4VI25BMOZKOGNRKERPZ6AQC R7M5DZY2NDAELIYA3HNBHQZ37HJKXTESMS6U46OZ2SZVD7KIMJXQC IWYHVSLDXIRLG2CZRN46XQFZKBRXCKKD6ME24XC5KFZRDOBGBTQQC 6XZIQSMIVP2GZ5S3UCKEVNDSLTHSQEVSXLV4UIFF3G3SRCGJPXYAC Y2BB47FLZ2TQKPOULIZCKQKCCX75DT7HEPPEJOURE26OD6VD6ZUAC KD353LTTUI6LTMYDTNPH3W6NXETRKDTNB6MA64K3WBQC6GSYKPMAC #elseif ((c = xytoclient(cursor->x, cursor->y))) {#endif
Client *xytoindependent(double x, double y){/* Find the topmost visible independent at point (x, y).* For independents, the most recently created can be used as the "top".* We rely on the X11 convention of unmapping unmanaged when the "owning"* client loses focus, which ensures that unmanaged are only visible on* the current tag. */Client *c;struct wlr_box geom;wl_list_for_each_reverse(c, &independents, link) {geom.x = c->surface.xwayland->x;geom.y = c->surface.xwayland->y;geom.width = c->surface.xwayland->width;geom.height = c->surface.xwayland->height;if (wlr_box_contains_point(&geom, x, y))return c;}return NULL;}
}Client *xytoindependent(double x, double y){/* Find the topmost visible independent at point (x, y).* For independents, the most recently created can be used as the "top".* We rely on the X11 convention of unmapping unmanaged when the "owning"* client loses focus, which ensures that unmanaged are only visible on* the current tag. */Client *c;struct wlr_box geom;wl_list_for_each_reverse(c, &independents, link) {geom.x = c->surface.xwayland->x;geom.y = c->surface.xwayland->y;geom.width = c->surface.xwayland->width;geom.height = c->surface.xwayland->height;if (wlr_box_contains_point(&geom, x, y))return c;}return NULL;