[PATCH] shell: correct the member name of getting panel height

Kristian Høgsberg hoegsberg at gmail.com
Tue Jul 10 05:48:09 PDT 2012


On Mon, Jul 09, 2012 at 10:24:09PM -0700, juan.j.zhao at linux.intel.com wrote:
> From: Juan Zhao <juan.j.zhao at linux.intel.com>
> 
> It does not get the correct panel height for now. The memeber of list
>  to read should be layer_link not link now.

Thanks, applied.

Kristian

> Signed-off-by: Juan Zhao <juan.j.zhao at linux.intel.com>
> ---
>  src/shell.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/shell.c b/src/shell.c
> index 2cc0139..66c9d64 100644
> --- a/src/shell.c
> +++ b/src/shell.c
> @@ -1331,7 +1331,7 @@ get_output_panel_height(struct desktop_shell *shell,
>  	if (!output)
>  		return 0;
>  
> -	wl_list_for_each(surface, &shell->panel_layer.surface_list, link) {
> +	wl_list_for_each(surface, &shell->panel_layer.surface_list, layer_link) {
>  		if (surface->output == output) {
>  			panel_height = surface->geometry.height;
>  			break;
> -- 
> 1.7.11
> 


More information about the wayland-devel mailing list