mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
Initialize display, backend; add frame handling
This commit is contained in:
parent
550748681d
commit
b6d7c3ed8e
9 changed files with 253 additions and 36 deletions
|
|
@ -209,7 +209,7 @@ static struct zxdg_toplevel_v6_listener xdg_toplevel_listener = {
|
|||
struct wlr_output *wlr_wl_output_create(struct wlr_backend *_backend) {
|
||||
assert(wlr_backend_is_wl(_backend));
|
||||
struct wlr_wl_backend *backend = (struct wlr_wl_backend *)_backend;
|
||||
if (!backend->remote_display) {
|
||||
if (!backend->started) {
|
||||
++backend->requested_outputs;
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue