mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
wording
This commit is contained in:
parent
44d7b6e558
commit
a23ad60ae3
1 changed files with 2 additions and 2 deletions
|
|
@ -261,7 +261,7 @@ server_init(struct server *server)
|
||||||
/* Create headless backend to enable adding virtual outputs later on */
|
/* Create headless backend to enable adding virtual outputs later on */
|
||||||
server->headless.backend = wlr_headless_backend_create(server->wl_display);
|
server->headless.backend = wlr_headless_backend_create(server->wl_display);
|
||||||
if (!server->headless.backend) {
|
if (!server->headless.backend) {
|
||||||
wlr_log(WLR_ERROR, "failed to create virtual output");
|
wlr_log(WLR_ERROR, "unable to create headless backend");
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
wlr_multi_backend_add(server->backend, server->headless.backend);
|
wlr_multi_backend_add(server->backend, server->headless.backend);
|
||||||
|
|
@ -269,7 +269,7 @@ server_init(struct server *server)
|
||||||
/*
|
/*
|
||||||
* If we don't populate headless backend with a virtual output (that we
|
* If we don't populate headless backend with a virtual output (that we
|
||||||
* create and immediately destroy), then virtual outputs being added
|
* create and immediately destroy), then virtual outputs being added
|
||||||
* later do not work properly when overlayed on real output. Content is
|
* later do not work properly when overlaid on real output. Content is
|
||||||
* drawn on the virtual output, but not drawn on the real output.
|
* drawn on the virtual output, but not drawn on the real output.
|
||||||
*/
|
*/
|
||||||
wlr_output_destroy(wlr_headless_add_output(server->headless.backend, 0, 0));
|
wlr_output_destroy(wlr_headless_add_output(server->headless.backend, 0, 0));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue