mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
wlr_surface: fix argument order consistency
This swaps the argument order of wlr_surface_accepts_touch() and wlr_surface_accepts_tablet_v2(), putting the wlr_surface argument first as should be the case for functions namespaced with wlr_surface_*.
This commit is contained in:
parent
b10516e1e8
commit
5ecbd23c1d
4 changed files with 6 additions and 6 deletions
|
|
@ -748,6 +748,6 @@ struct wlr_seat_client *wlr_seat_client_from_pointer_resource(
|
|||
/**
|
||||
* Check whether a surface has bound to touch events.
|
||||
*/
|
||||
bool wlr_surface_accepts_touch(struct wlr_seat *wlr_seat, struct wlr_surface *surface);
|
||||
bool wlr_surface_accepts_touch(struct wlr_surface *surface, struct wlr_seat *wlr_seat);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -327,6 +327,6 @@ struct wlr_tablet_pad_v2_grab_interface {
|
|||
void wlr_tablet_v2_end_grab(struct wlr_tablet_v2_tablet_pad *pad);
|
||||
void wlr_tablet_v2_start_grab(struct wlr_tablet_v2_tablet_pad *pad, struct wlr_tablet_pad_v2_grab *grab);
|
||||
|
||||
bool wlr_surface_accepts_tablet_v2(struct wlr_tablet_v2_tablet *tablet,
|
||||
struct wlr_surface *surface);
|
||||
bool wlr_surface_accepts_tablet_v2(struct wlr_surface *surface,
|
||||
struct wlr_tablet_v2_tablet *tablet);
|
||||
#endif /* WLR_TYPES_WLR_TABLET_V2_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue