diff options
| author | Tony Crisci <tony@dubstepdish.com> | 2017-08-17 08:51:47 -0400 | 
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2017-08-17 21:05:13 -0400 | 
| commit | 420bd3e4223d67c7bfe153be365caec342a18238 (patch) | |
| tree | f93b1d0c56af2fb519cd8177fe7a875c43c0b7cd | |
| parent | dfb6a1203690061f9a8910028690a7a69e926b6f (diff) | |
| download | wlroots-420bd3e4223d67c7bfe153be365caec342a18238.tar.xz | |
bugfix: correctly get the output_layout
| -rw-r--r-- | types/wlr_output_layout.c | 2 | 
1 files changed, 1 insertions, 1 deletions
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;  		}  	}  | 
