From 420bd3e4223d67c7bfe153be365caec342a18238 Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Thu, 17 Aug 2017 08:51:47 -0400 Subject: [PATCH] bugfix: correctly get the output_layout --- types/wlr_output_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/wlr_output_layout.c b/types/wlr_output_layout.c index dd31aef8..b4a3565e 100644 --- a/types/wlr_output_layout.c +++ b/types/wlr_output_layout.c @@ -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; } }