mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-27 18:24:16 +00:00
fix format
This commit is contained in:
parent
43da2829e1
commit
6824ecb95e
4
dwl.c
4
dwl.c
@ -2376,8 +2376,8 @@ xytoclient(double x, double y)
|
|||||||
struct wlr_box p = {
|
struct wlr_box p = {
|
||||||
.y = c->geom.y + borderpx,
|
.y = c->geom.y + borderpx,
|
||||||
.x = c->geom.x + borderpx,
|
.x = c->geom.x + borderpx,
|
||||||
.height = c->geom.height - 2*borderpx,
|
.height = c->geom.height - 2 * borderpx,
|
||||||
.width = c->geom.width - 2*borderpx,
|
.width = c->geom.width - 2 * borderpx,
|
||||||
};
|
};
|
||||||
if (VISIBLEON(c, c->mon) && wlr_box_contains_point(&p, x, y))
|
if (VISIBLEON(c, c->mon) && wlr_box_contains_point(&p, x, y))
|
||||||
return c;
|
return c;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user