0ad/source
Ralph Sennhauser b5d08a4833 Use XWayland for Atlas if needed
GlCanvas currently doesn't support runtime selection of GDK backend [1].

Therefore to run Atlas under Wayland wxWidgets needs to be built with
GLCANVAS_EGL which is usually not the case to support X11 at the same
time.

Check if the EGL backend is available and if not and running under
Wayland force use of XWayland with the GLX backend.

[1] https://github.com/wxWidgets/wxWidgets/issues/22325

Closes: #6939
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2024-10-09 06:28:56 +02:00
..
collada Use UTF-8 as encoding when working with files 2024-08-29 07:22:46 +02:00
graphics Catch exceptions from tasks 2024-10-08 20:05:44 +02:00
gui Get a promise when starting a GUIpage 2024-07-08 19:07:04 +00:00
i18n Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
lib Make CMatrix3D::operator*= behave as expected. 2024-10-08 16:04:22 +02:00
lobby Check for source of XMPP stanzas 2024-08-13 04:59:38 +00:00
maths Make CMatrix3D::operator*= behave as expected. 2024-10-08 16:04:22 +02:00
mocks Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
network Mark class with final dtor as final in tests 2024-09-28 21:55:30 +02:00
pch Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ps Fixes notes. 2024-10-08 23:07:18 +02:00
renderer Fix GLES 2.0 build after the compute shader addition 2024-10-08 08:13:33 +02:00
rlinterface Shutdown mongoose in rl-interface gracefully 2024-06-23 17:26:03 +00:00
scriptinterface Add final to classes introduced in f9114a87f2 2024-08-25 13:38:09 +02:00
simulation2 Catch exceptions from tasks 2024-10-08 20:05:44 +02:00
soundmanager Don't check memory allocation made using new 2024-01-21 14:29:30 +00:00
third_party Remove unused typedef in json_spirit 2024-09-28 21:55:30 +02:00
tools Use XWayland for Atlas if needed 2024-10-09 06:28:56 +02:00
main.cpp Don't use std::shared_ptr to store m_ScriptContext and m_ScriptInterface in the CGUIManager 2024-06-27 19:09:30 +00:00
test_setup.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00