cms-static: Use the right wl_listener for the output hotplug listener

This commit is contained in:
Kristian Høgsberg 2013-05-21 11:44:22 -04:00
parent fe097f95a3
commit d7ab5b8007

View File

@ -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);
}