bugfix: correctly get the output_layout

This commit is contained in:
Tony Crisci 2017-08-17 08:51:47 -04:00 committed by Drew DeVault
parent dfb6a12036
commit 420bd3e422
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ struct wlr_output_layout_output *wlr_output_layout_get(
struct wlr_output_layout_output *ret = NULL;
struct wlr_output_layout_output *_output;
wl_list_for_each(_output, &layout->outputs, link) {
if (_output->output) {
if (_output->output == reference) {
ret = _output;
}
}