mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Use $QEMU_VER for version based conditionals
This commit is contained in:
parent
75f108ebfd
commit
27e5b6a174
1 changed files with 1 additions and 2 deletions
|
@ -121,8 +121,7 @@ function vm_boot() {
|
||||||
|
|
||||||
# Determine what display to use
|
# Determine what display to use
|
||||||
local display="-display ${UI},gl=${GL}"
|
local display="-display ${UI},gl=${GL}"
|
||||||
local ver=$(qemu-${ENGINE} -version | head -n1 | cut -d' ' -f4 | cut -d'(' -f1)
|
if [ "${QEMU_VER}" == "2.11.1" ]; then
|
||||||
if [ "${ver}" == "2.11.1" ]; then
|
|
||||||
display="-display sdl"
|
display="-display sdl"
|
||||||
# Fix stuttering mouse pointer when SDL backend is used.
|
# Fix stuttering mouse pointer when SDL backend is used.
|
||||||
export SDL_VIDEO_X11_DGAMOUSE=0
|
export SDL_VIDEO_X11_DGAMOUSE=0
|
||||||
|
|
Loading…
Reference in a new issue