mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
chase wlroots: wlr_surface_accepts args MR 2434
Ref: 5ecbd23c1d44119cb32b345782d50c9664853109
("wlr_surface: fix argument order consistency")
This commit is contained in:
parent
cb0db3542d
commit
a5db63c472
3 changed files with 3 additions and 3 deletions
|
|
@ -169,7 +169,7 @@ tablet_get_coords(struct drawing_tablet *tablet, double *x, double *y, double *d
|
|||
/* find the surface and return it if it accepts tablet events */
|
||||
struct wlr_surface *surface = lab_wlr_surface_from_node(node);
|
||||
|
||||
if (surface && !wlr_surface_accepts_tablet_v2(tablet->tablet_v2, surface)) {
|
||||
if (surface && !wlr_surface_accepts_tablet_v2(surface, tablet->tablet_v2)) {
|
||||
return NULL;
|
||||
}
|
||||
return surface;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[wrap-git]
|
||||
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
|
||||
revision = b10516e1e8352f3140d68fa580b0ed32e13c2d58
|
||||
revision = 5ecbd23c1d44119cb32b345782d50c9664853109
|
||||
|
||||
[provide]
|
||||
dependency_names = wlroots-0.19
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue