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:
dd263e5
)
shell: Use the correct the member name when iterating panel_list
author
Juan Zhao
<juan.j.zhao@linux.intel.com>
Tue, 10 Jul 2012 05:24:09 +0000
(22:24 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 10 Jul 2012 12:47:25 +0000
(08:47 -0400)
It does not get the correct panel height for now. The memeber of list
to read should be layer_link not link now.
Signed-off-by: Juan Zhao <juan.j.zhao@linux.intel.com>
src/shell.c
patch
|
blob
|
history
diff --git
a/src/shell.c
b/src/shell.c
index
2cc0139
..
66c9d64
100644
(file)
--- a/
src/shell.c
+++ b/
src/shell.c
@@
-1331,7
+1331,7
@@
get_output_panel_height(struct desktop_shell *shell,
if (!output)
return 0;
- wl_list_for_each(surface, &shell->panel_layer.surface_list, link) {
+ wl_list_for_each(surface, &shell->panel_layer.surface_list, l
ayer_l
ink) {
if (surface->output == output) {
panel_height = surface->geometry.height;
break;