Commit bda4876f authored by Jonny Lamb's avatar Jonny Lamb
Browse files

shell-helper: fix typo in getting struct weston_layer pointer

We weren't using this pointer so it wasn't obvious it was
wrong. wl_list and container_of confuse me every time.
parent 6290906a
......@@ -134,11 +134,11 @@ shell_helper_set_panel(struct wl_client *client,
/* we need to save the panel's layer so we can use it later on, but
* it hasn't yet been defined because the original surface configure
* function hasn't yet been calld. if we call it here we will have
* function hasn't yet been called. if we call it here we will have
* access to the layer. */
surface->configure(surface, 0, 0);
helper->panel_layer = container_of(&view->layer_link,
helper->panel_layer = container_of(view->,
struct weston_layer,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment