mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Remove wlr_backend.events.{output_remove,device_remove}
This commit is contained in:
parent
5e58d46cc1
commit
10ecf871f2
25 changed files with 263 additions and 382 deletions
|
|
@ -12,7 +12,6 @@
|
|||
static void input_device_destroy(struct wlr_input_device *wlr_dev) {
|
||||
struct wlr_headless_input_device *device =
|
||||
(struct wlr_headless_input_device *)wlr_dev;
|
||||
wlr_signal_emit_safe(&device->backend->backend.events.input_remove, wlr_dev);
|
||||
free(device);
|
||||
}
|
||||
|
||||
|
|
@ -89,7 +88,7 @@ struct wlr_input_device *wlr_headless_add_input_device(
|
|||
wl_list_insert(&backend->input_devices, &wlr_device->link);
|
||||
|
||||
if (backend->started) {
|
||||
wlr_signal_emit_safe(&backend->backend.events.input_add, wlr_device);
|
||||
wlr_signal_emit_safe(&backend->backend.events.new_input, wlr_device);
|
||||
}
|
||||
|
||||
return wlr_device;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue