cms-static: Use the right wl_listener for the output hotplug listener
This commit is contained in:
parent
fe097f95a3
commit
d7ab5b8007
@ -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…
Reference in New Issue
Block a user