From 67072d03d3d4eda1618fd5a97b823585cc7e6fbe Mon Sep 17 00:00:00 2001 From: "U. Artie Eoff" Date: Tue, 6 May 2014 14:50:02 -0700 Subject: [PATCH] compositor-wayland: assign the correct mode Signed-off-by: U. Artie Eoff --- 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 35e99a64..3cd308f4 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);