<div dir="ltr"><div>I'd like to propose a topic for the upcoming Wakefield project
meeting, namely, how to best decide which toolkit to use at the start?
The question is relatively easily answered at the toolkit load time, but
we must decide much earlier because of the splash screen support. That
thing starts working when there's no Java yet, so the decision must be
made then and not change afterwards.</div><div>Options for the decision making include (but not limited to):</div><div>- look at $XDG_SESSION_TYPE,</div><div>- check $DISPLAY, then $WAYLAND_DISPLAY (or the other way around),<br></div><div>- try connecting to $DISPLAY, then $WAYLAND_DISPLAY.</div><div><br></div><div>There
is also a question on how to pass this decision down to the toolkit
initialization time, which must choose the same and (preferably)
regardless of whether or not the splash screen was shown.</div><div>Options here include</div><div>- pass a command line option,</div><div>- implement the same logic in Java as in the early C startup code.</div><div><br></div><div>Opinions and suggestions are welcomed!</div></div>