magnifier: disable direct scanout when active

Fixes: #1980
This commit is contained in:
Consolatis 2024-07-16 20:39:48 +02:00
parent 8ddfcb80e5
commit 40684bad9d
3 changed files with 15 additions and 11 deletions

View file

@ -360,6 +360,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;
/*
* The order in which the scene-trees below are created determines the