chore: white space clean up
This commit is contained in:
parent
325dc7f904
commit
aaf4ae4ff6
4
quickemu
4
quickemu
|
|
@ -1331,7 +1331,6 @@ function vm_boot() {
|
||||||
function start_viewer {
|
function start_viewer {
|
||||||
errno=0
|
errno=0
|
||||||
if [ "${viewer}" != "none" ]; then
|
if [ "${viewer}" != "none" ]; then
|
||||||
|
|
||||||
# If output is 'none' then SPICE was requested.
|
# If output is 'none' then SPICE was requested.
|
||||||
if [ "${display}" == "spice" ]; then
|
if [ "${display}" == "spice" ]; then
|
||||||
if [ "${viewer}" == "remote-viewer" ]; then
|
if [ "${viewer}" == "remote-viewer" ]; then
|
||||||
|
|
@ -1345,7 +1344,6 @@ function start_viewer {
|
||||||
${viewer} --title "${VMNAME}" ${FULLSCREEN} "spice://localhost:${spice_port}" >/dev/null 2>&1 &
|
${viewer} --title "${VMNAME}" ${FULLSCREEN} "spice://localhost:${spice_port}" >/dev/null 2>&1 &
|
||||||
errno=$?
|
errno=$?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
elif [ "${viewer}" == "spicy" ]; then
|
elif [ "${viewer}" == "spicy" ]; then
|
||||||
# show via viewer: spicy
|
# show via viewer: spicy
|
||||||
if [ -n "${PUBLIC}" ]; then
|
if [ -n "${PUBLIC}" ]; then
|
||||||
|
|
@ -1454,7 +1452,7 @@ function display_param_check() {
|
||||||
|
|
||||||
# Enable grab-on-hover for SDL: https://github.com/quickemu-project/quickemu/issues/541
|
# Enable grab-on-hover for SDL: https://github.com/quickemu-project/quickemu/issues/541
|
||||||
case "${display}" in
|
case "${display}" in
|
||||||
sdl) export SDL_MOUSE_FOCUS_CLICKTHROUGH=1;;
|
sdl) export SDL_MOUSE_FOCUS_CLICKTHROUGH=1;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Set the default 3D acceleration.
|
# Set the default 3D acceleration.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue