[PATCH weston 2/3] compositor-wayland: assign the correct mode

Jasper St. Pierre jstpierre at mecheye.net
Wed May 7 06:20:04 PDT 2014


I love the simple typos like this. LGTM.


On Tue, May 6, 2014 at 5:50 PM, U. Artie Eoff <ullysses.a.eoff at intel.com>wrote:

> Signed-off-by: U. Artie Eoff <ullysses.a.eoff at intel.com>
> ---
>  src/compositor-wayland.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
> index 35e99a6..3cd308f 100644
> --- a/src/compositor-wayland.c
> +++ b/src/compositor-wayland.c
> @@ -1149,7 +1149,7 @@ wayland_output_create_for_parent_output(struct
> wayland_compositor *c,
>         if (poutput->current_mode) {
>                 mode = poutput->current_mode;
>         } else if (poutput->preferred_mode) {
> -               mode = poutput->current_mode;
> +               mode = poutput->preferred_mode;
>         } else if (!wl_list_empty(&poutput->mode_list)) {
>                 mode = container_of(poutput->mode_list.next,
>                                     struct weston_mode, link);
> --
> 1.9.0
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>



-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140507/73c8d9ae/attachment.html>


More information about the wayland-devel mailing list