mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
output: unbreak with wlroots 0.11.0
Port changes changes from9d0aa0cb8340e87fa98a
This commit is contained in:
parent
bd961db6f5
commit
6a12da1960
1 changed files with 1 additions and 4 deletions
5
output.c
5
output.c
|
|
@ -232,10 +232,7 @@ scan_out_primary_view(struct cg_output *output)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!wlr_output_attach_buffer(wlr_output, surface->buffer)) {
|
wlr_output_attach_buffer(wlr_output, &surface->buffer->base);
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return wlr_output_commit(wlr_output);
|
return wlr_output_commit(wlr_output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue