mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
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:
parent
2285e36b0c
commit
ebeef0fbe8
4 changed files with 16 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ struct wlr_tablet {
|
|||
struct wl_signal button;
|
||||
} events;
|
||||
|
||||
const char *name;
|
||||
char *name;
|
||||
struct wlr_list paths; // char *
|
||||
|
||||
void *data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue