mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-16 06:59:44 -05:00
layout-output example: handle empty config
This commit is contained in:
parent
44181b57ac
commit
2e9e237f9d
3 changed files with 33 additions and 3 deletions
|
|
@ -33,7 +33,7 @@ void wlr_output_layout_add(struct wlr_output_layout *layout,
|
|||
wl_list_insert(&layout->outputs, &layout_output->link);
|
||||
}
|
||||
|
||||
static struct wlr_output_layout_output *wlr_output_layout_get(
|
||||
struct wlr_output_layout_output *wlr_output_layout_get(
|
||||
struct wlr_output_layout *layout, struct wlr_output *reference) {
|
||||
struct wlr_output_layout_output *ret = NULL;
|
||||
struct wlr_output_layout_output *_output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue