chase wlroots: use WLR_PRIVATE (MR 4842)

Ref: 6006023a377868187f73d2e0922bbe952072684f
("Use WLR_PRIVATE for private fields")
This commit is contained in:
Consolatis 2024-11-27 04:48:45 +01:00 committed by Johan Malm
parent 2b1923c867
commit 0c2cf61895
5 changed files with 11 additions and 9 deletions

View file

@ -549,7 +549,7 @@ server_init(struct server *server)
wlr_log(WLR_ERROR, "unable to create scene");
exit(EXIT_FAILURE);
}
server->direct_scanout_enabled = server->scene->direct_scanout;
server->direct_scanout_enabled = server->scene->WLR_PRIVATE.direct_scanout;
/*
* The order in which the scene-trees below are created determines the