Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detect wayland and make sure X rendering is used. (#1253)
rviz2 does not work under wayland unless using X compatibility. The current workaround on wayland is to set the QT_QPA_PLATFORM environment variable to xcb. This patch now detects if rviz2 is started in a wayland session and if so sets that variable automatically. Signed-off-by: Matthew Elwin <[email protected]>
- Loading branch information