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

Kristian Høgsberg 12 years ago
parent fe097f95a3
commit d7ab5b8007
  1. 3
      src/cms-static.c

@ -73,7 +73,8 @@ static void
cms_notifier_output_created(struct wl_listener *listener, void *data) cms_notifier_output_created(struct wl_listener *listener, void *data)
{ {
struct weston_output *o = (struct weston_output *) 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); cms_output_created(cms, o);
} }

Loading…
Cancel
Save