Skip to content

Commit

Permalink
Fixed warning on Ubuntu 22.04 (#4641)
Browse files Browse the repository at this point in the history
  • Loading branch information
omichel authored Jun 14, 2022
1 parent bb6691c commit 88e8b51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/webots/launcher/webots-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ export LD_LIBRARY_PATH="$webots_home/lib/webots":$LD_LIBRARY_PATH

export QT_ENABLE_HIGHDPI_SCALING=1

# Fixes warning on Ubuntu 22.04
unset XDG_SESSION_TYPE
unset WAYLAND_DISPLAY

# execute the real Webots binary in a child process
if command -v primusrun >/dev/null 2>&1; then
primusrun "$webots_home/bin/webots-bin" "$@" &
Expand Down

0 comments on commit 88e8b51

Please sign in to comment.