There was a function call that was not declared "tablet_device_destroy"

It's declared in the later versions of the patch but here it was not and It was causing compilation errors and adding the function manually from the later version causes seg faults. From what I see it's not required in dwl 0.7 with wlroots 0.18

I just removed the line and kept the patch as it is to keep the credits for who made this update and also I tested it and it worked with no problem.
This commit is contained in:
ToYoNiX 2025-12-12 15:49:42 +01:00
parent 955529b809
commit 9e494415d7

View File

@ -139,7 +139,7 @@ index a2711f6..97d3d53 100644
+void
+destroytablet(struct wl_listener *listener, void *data)
+{
+ wl_list_remove(&tablet_device_destroy.link);
+
+ wlr_cursor_detach_input_device(cursor, tablet->wlr_device);
+ tablet = NULL;
+}