Clean up wayland backend tablet support

Mostly address feedback from emersion on PR #1694
Remove const qualifier from char *name, to allow free() call
This commit is contained in:
Markus Ongyerth 2019-07-14 06:48:22 +02:00 committed by Simon Ser
parent 2285e36b0c
commit ebeef0fbe8
4 changed files with 16 additions and 22 deletions

View file

@ -98,4 +98,8 @@ struct wlr_wl_input_device *create_wl_input_device(
extern const struct wl_seat_listener seat_listener;
struct wlr_wl_tablet_seat *wl_add_tablet_seat(
struct zwp_tablet_manager_v2 *manager,
struct wl_seat *seat, struct wlr_wl_backend *backend);
#endif

View file

@ -70,7 +70,7 @@ struct wlr_tablet {
struct wl_signal button;
} events;
const char *name;
char *name;
struct wlr_list paths; // char *
void *data;