mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
wlr_touch: Declare wlr_touch_impl usage as const
This brings it in line with wlr_keyboard and wlr_pointer
This commit is contained in:
parent
692a16cef7
commit
2d4bc66f11
3 changed files with 3 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ struct wlr_touch_impl {
|
|||
};
|
||||
|
||||
void wlr_touch_init(struct wlr_touch *touch,
|
||||
struct wlr_touch_impl *impl);
|
||||
const struct wlr_touch_impl *impl);
|
||||
void wlr_touch_destroy(struct wlr_touch *touch);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
struct wlr_touch_impl;
|
||||
|
||||
struct wlr_touch {
|
||||
struct wlr_touch_impl *impl;
|
||||
const struct wlr_touch_impl *impl;
|
||||
|
||||
struct {
|
||||
struct wl_signal down;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue