mirror of
https://github.com/unraid/webgui.git
synced 2026-01-13 05:00:06 -06:00
Merge pull request #1249 from SimonFair/Spice-mouse-fix-with-copy-paste
Fix for Spice Mouse if Copy paste enabled.
This commit is contained in:
@@ -766,12 +766,14 @@
|
||||
} else $strPort = "-1" ;
|
||||
|
||||
if ($strAutoport == "yes") $strPort = $strWSport = "-1" ;
|
||||
if (($gpu['copypaste'] == "yes") && ($strProtocol == "spice")) $vmrcmousemode = "<mouse mode='server'/>" ; else $vmrcmousemode = "" ;
|
||||
|
||||
$vmrc = "<input type='tablet' bus='usb'/>
|
||||
<input type='mouse' bus='ps2'/>
|
||||
<input type='keyboard' bus='ps2'/>
|
||||
<graphics type='$strProtocol' port='$strPort' autoport='$strAutoport' websocket='$strWSport' listen='0.0.0.0' $passwdstr $strKeyMap>
|
||||
<listen type='address' address='0.0.0.0'/>
|
||||
$vmrcmousemode
|
||||
</graphics>
|
||||
<video>
|
||||
<model type='$strModelType'/>
|
||||
|
||||
Reference in New Issue
Block a user