mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 01:48:00 +02:00
cms-static: Use the right wl_listener for the output hotplug listener
This commit is contained in:
parent
fe097f95a3
commit
d7ab5b8007
1 changed files with 2 additions and 1 deletions
|
|
@ -73,7 +73,8 @@ static void
|
|||
cms_notifier_output_created(struct wl_listener *listener, void *data)
|
||||
{
|
||||
struct weston_output *o = (struct weston_output *) data;
|
||||
struct cms_static *cms = container_of(listener, struct cms_static, destroy_listener);
|
||||
struct cms_static *cms =
|
||||
container_of(listener, struct cms_static, output_created_listener);
|
||||
cms_output_created(cms, o);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue