[weston,4/4] ivi-shell: remove a code which expects only a screen in the system.

Submitted by Nobuhiko Tanibata on Nov. 25, 2015, 2:37 p.m.

Details

Message ID 1448462229-6104-1-git-send-email-nobuhiko_tanibata@xddp.denso.co.jp
State Accepted
Commit 747c3865ab7bf8defc7a0cacf148b547c949f303
Headers show
Series "fix bugs and TODO to support multi screens" ( rev: 1 ) in Wayland (DEPRECATED)

Not browsing as part of any series.

Commit Message

Nobuhiko Tanibata Nov. 25, 2015, 2:37 p.m.
From: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>

It breaks from wl_list_for_each of screens when the frist screen found.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
---
 ivi-shell/ivi-layout.c | 2 --
 1 file changed, 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
index 732a557..04fee7a 100644
--- a/ivi-shell/ivi-layout.c
+++ b/ivi-shell/ivi-layout.c
@@ -851,8 +851,6 @@  commit_screen_list(struct ivi_layout *layout)
 				ivisurf->surface->output = iviscrn->output;
 			}
 		}
-
-		break;
 	}
 }