[PATCH weston 5/5] desktop-shell: make background applications less dark

Kristian Høgsberg hoegsberg at gmail.com
Wed Jun 18 16:27:15 PDT 2014


On Thu, May 22, 2014 at 10:41:34PM +0200, Jonny Lamb wrote:

Patch applied.

Kristian

> ---
>  desktop-shell/shell.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
> index 51683ee..a5886d7 100644
> --- a/desktop-shell/shell.c
> +++ b/desktop-shell/shell.c
> @@ -911,21 +911,21 @@ animate_focus_change(struct desktop_shell *shell, struct workspace *ws,
>  	if (focus_surface_created) {
>  		ws->focus_animation = weston_fade_run(
>  			ws->fsurf_front->view,
> -			ws->fsurf_front->view->alpha, 0.6, 300,
> +			ws->fsurf_front->view->alpha, 0.4, 300,
>  			focus_animation_done, ws);
>  	} else if (from) {
>  		wl_list_insert(&from->layer_link,
>  			       &ws->fsurf_back->view->layer_link);
>  		ws->focus_animation = weston_stable_fade_run(
>  			ws->fsurf_front->view, 0.0,
> -			ws->fsurf_back->view, 0.6,
> +			ws->fsurf_back->view, 0.4,
>  			focus_animation_done, ws);
>  	} else if (to) {
>  		wl_list_insert(&ws->layer.view_list,
>  			       &ws->fsurf_back->view->layer_link);
>  		ws->focus_animation = weston_stable_fade_run(
>  			ws->fsurf_front->view, 0.0,
> -			ws->fsurf_back->view, 0.6,
> +			ws->fsurf_back->view, 0.4,
>  			focus_animation_done, ws);
>  	}
>  }
> -- 
> 2.0.0.rc2
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list