mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-04 20:55:58 +01:00
bugfix: correctly get the output_layout
This commit is contained in:
parent
dfb6a12036
commit
420bd3e422
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue