Re: [PATCH weston 3/8] compositor-drm: Don’t try to set the cursor anymore once we know it’s broken
Quentin Glidic
sardemff7+wayland at sardemff7.net
Tue May 3 13:08:29 UTC 2016
On 02/05/2016 23:40, Emmanuel Gil Peyrot wrote:
> Signed-off-by: Emmanuel Gil Peyrot <emmanuel.peyrot at collabora.com>
> ---
> src/compositor-drm.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/compositor-drm.c b/src/compositor-drm.c
> index ea118fa..c11562f 100644
> --- a/src/compositor-drm.c
> +++ b/src/compositor-drm.c
> @@ -671,7 +671,8 @@ drm_output_repaint(struct weston_output *output_base,
>
> output->page_flip_pending = 1;
>
> - drm_output_set_cursor(output);
> + if (!backend->cursors_are_broken)
> + drm_output_set_cursor(output);
>
> /*
> * Now, update all the sprite surfaces
>
Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>
Should land on its own.
--
Quentin “Sardem FF7” Glidic
More information about the wayland-devel
mailing list