projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cbd8f3
)
compositor-wayland: assign the correct mode
author
U. Artie Eoff
<ullysses.a.eoff@intel.com>
Tue, 6 May 2014 21:50:02 +0000
(14:50 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 6 May 2014 22:40:59 +0000
(15:40 -0700)
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
src/compositor-wayland.c
patch
|
blob
|
history
diff --git
a/src/compositor-wayland.c
b/src/compositor-wayland.c
index
35e99a6
..
3cd308f
100644
(file)
--- 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);