chase wlroots: wlr_surface_accepts args MR 2434

Ref: 5ecbd23c1d44119cb32b345782d50c9664853109
("wlr_surface: fix argument order consistency")
This commit is contained in:
Consolatis 2024-11-27 03:35:45 +01:00 committed by Johan Malm
parent cb0db3542d
commit a5db63c472
3 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ touch_get_coords(struct seat *seat, struct wlr_touch *touch, double x, double y,
/* Find the surface and return it if it accepts touch events */
struct wlr_surface *surface = lab_wlr_surface_from_node(node);
if (surface && !wlr_surface_accepts_touch(seat->seat, surface)) {
if (surface && !wlr_surface_accepts_touch(surface, seat->seat)) {
surface = NULL;
}
return surface;