Use new isDummyInstance DPF method and get rid of xvfb

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2021-11-05 12:44:06 +00:00
parent ec2d383d95
commit 83d2f852dd
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
3 changed files with 33 additions and 37 deletions

View file

@ -379,7 +379,9 @@ public:
context->event = new rack::widget::EventState;
context->scene = new rack::app::Scene;
context->event->rootWidget = context->scene;
context->window = new rack::window::Window;
if (! isDummyInstance())
context->window = new rack::window::Window;
context->patch->loadTemplate();
context->scene->rackScroll->reset();