mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05: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
|
|
@ -59,7 +59,6 @@ void wlr_input_device_destroy(struct wlr_input_device *dev) {
|
|||
if (dev->impl && dev->impl->destroy) {
|
||||
dev->impl->destroy(dev);
|
||||
} else {
|
||||
wl_list_remove(&dev->events.destroy.listener_list);
|
||||
free(dev);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -285,7 +285,6 @@ void wlr_output_destroy(struct wlr_output *output) {
|
|||
wlr_output_destroy_global(output);
|
||||
wlr_output_set_fullscreen_surface(output, NULL);
|
||||
|
||||
wlr_signal_emit_safe(&output->backend->events.output_remove, output);
|
||||
wlr_signal_emit_safe(&output->events.destroy, output);
|
||||
|
||||
struct wlr_output_mode *mode, *tmp_mode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue