[PATCH weston 2/2] exposay: avoid needlessly activating the active view

Kristian Høgsberg hoegsberg at gmail.com
Tue Feb 18 14:21:39 PST 2014


On Mon, Feb 10, 2014 at 04:52:33PM +0100, Emilio Pozuelo Monfort wrote:
> From: Emilio Pozuelo Monfort <emilio.pozuelo at collabora.co.uk>
> 
> Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo at collabora.co.uk>

These two applied, thanks.

Kristian

> ---
>  desktop-shell/exposay.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/desktop-shell/exposay.c b/desktop-shell/exposay.c
> index fe7a3a7..feadfdc 100644
> --- a/desktop-shell/exposay.c
> +++ b/desktop-shell/exposay.c
> @@ -138,6 +138,9 @@ exposay_highlight_surface(struct desktop_shell *shell,
>  {
>  	struct weston_view *view = esurface->view;
>  
> +	if (shell->exposay.focus_current == view)
> +		return;
> +
>  	shell->exposay.row_current = esurface->row;
>  	shell->exposay.column_current = esurface->column;
>  
> -- 
> 1.9.rc1
> 
> _______________________________________________
> 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