mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
output: add wl_list_remove()s
This commit is contained in:
parent
9342b2b414
commit
80947e56ee
1 changed files with 2 additions and 1 deletions
|
|
@ -348,9 +348,10 @@ output_destroy_notify(struct wl_listener *listener, void *data)
|
||||||
{
|
{
|
||||||
struct output *output = wl_container_of(listener, output, destroy);
|
struct output *output = wl_container_of(listener, output, destroy);
|
||||||
wl_list_remove(&output->link);
|
wl_list_remove(&output->link);
|
||||||
|
wl_list_remove(&output->frame.link);
|
||||||
|
wl_list_remove(&output->destroy.link);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
new_output_notify(struct wl_listener *listener, void *data)
|
new_output_notify(struct wl_listener *listener, void *data)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue