diff options
author | emersion <contact@emersion.fr> | 2018-03-06 21:50:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-06 21:50:00 +0100 |
commit | 36dcad13d09d63bd321958ed79d479687479f852 (patch) | |
tree | 92f33db4faf0ae3ff1f8345805303fb2c0884dd2 /include/wlr | |
parent | c986cc24a9bd6f09acb99c1ae4f3b95dc7c560c5 (diff) | |
parent | 3c9fc7c68ec7e0474f40bedc33d55862e03af057 (diff) |
Merge pull request #707 from ascent12/xcb_fixes
Xcb fixes
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/interfaces/wlr_input_device.h | 2 | ||||
-rw-r--r-- | include/wlr/types/wlr_input_device.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/interfaces/wlr_input_device.h b/include/wlr/interfaces/wlr_input_device.h index 2a681ff8..a5c513b7 100644 --- a/include/wlr/interfaces/wlr_input_device.h +++ b/include/wlr/interfaces/wlr_input_device.h @@ -10,7 +10,7 @@ struct wlr_input_device_impl { void wlr_input_device_init( struct wlr_input_device *wlr_device, enum wlr_input_device_type type, - struct wlr_input_device_impl *impl, + const struct wlr_input_device_impl *impl, const char *name, int vendor, int product); void wlr_input_device_destroy(struct wlr_input_device *dev); diff --git a/include/wlr/types/wlr_input_device.h b/include/wlr/types/wlr_input_device.h index 306a1166..6d8e3631 100644 --- a/include/wlr/types/wlr_input_device.h +++ b/include/wlr/types/wlr_input_device.h @@ -24,7 +24,7 @@ enum wlr_input_device_type { struct wlr_input_device_impl; struct wlr_input_device { - struct wlr_input_device_impl *impl; + const struct wlr_input_device_impl *impl; enum wlr_input_device_type type; int vendor, product; |