bugfix: correctly get the output_layout

master
Tony Crisci 7 years ago committed by Drew DeVault
parent dfb6a12036
commit 420bd3e422

@ -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;
}
}

Loading…
Cancel
Save