Am 21.11.21 um 17:50 schrieb Will Godfrey:
In any case, I think bShowGui should be applied just before Fl::lock()
Would you like to give that a try?

My thinking too. Whenever there is a #ifdef GUI_FLTK, then there should
also be a if (bShowGui) or equivalent. Thus I searched through the codebase,
and fixed some further occurences, especially in InterChange.cpp
And of course, we do not need to start the GUI from main and we do not
need to call processGuiMessages()  (i.e. the Gui Event-Loop, which is
defined in Config.h and called from main.

With these changes, I can now run Yoshimi from Docker,
which helps when testing with various compilers and OS versions.

I have pushed that Changeset on top of my "power"-branch,
which I intend to bring in now...

-- Hermann



_______________________________________________
Yoshimi-devel mailing list
Yoshimi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel

Reply via email to