mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-03-29 23:16:37 +00:00
Add missing rdp options
Some options were missing so they could not be set in the rdp template. Closes: #78
This commit is contained in:
@@ -27,6 +27,12 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type RdpSettings struct {
|
type RdpSettings struct {
|
||||||
|
AllowFontSmoothing string `rdp:"allow font smoothing" default:"0"`
|
||||||
|
AllowDesktopComposition string `rdp:"allow desktop composition" default:"0"`
|
||||||
|
DisableFullWindowDrag string `rdp:"disable full window drag" default:"0"`
|
||||||
|
DisableMenuAnims string `rdp:"disable menu anims" default:"0"`
|
||||||
|
DisableThemes string `rdp:"disable themes" default:"0"`
|
||||||
|
DisableCursorSetting string `rdp:"disable cursor setting" default:"0"`
|
||||||
GatewayHostname string `rdp:"gatewayhostname"`
|
GatewayHostname string `rdp:"gatewayhostname"`
|
||||||
FullAddress string `rdp:"full address"`
|
FullAddress string `rdp:"full address"`
|
||||||
AlternateFullAddress string `rdp:"alternate full address"`
|
AlternateFullAddress string `rdp:"alternate full address"`
|
||||||
@@ -75,6 +81,7 @@ type RdpSettings struct {
|
|||||||
DesktopWidth int `rdp:"desktopwidth"`
|
DesktopWidth int `rdp:"desktopwidth"`
|
||||||
DesktopScaleFactor int `rdp:"desktopscalefactor"`
|
DesktopScaleFactor int `rdp:"desktopscalefactor"`
|
||||||
BitmapCacheSize int `rdp:"bitmapcachesize" default:"1500"`
|
BitmapCacheSize int `rdp:"bitmapcachesize" default:"1500"`
|
||||||
|
BitmapCachePersistEnable bool `rdp:"bitmapcachepersistenable" default:"true"`
|
||||||
RemoteApplicationCmdLine string `rdp:"remoteapplicationcmdline"`
|
RemoteApplicationCmdLine string `rdp:"remoteapplicationcmdline"`
|
||||||
RemoteAppExpandWorkingDir bool `rdp:"remoteapplicationexpandworkingdir" default:"true"`
|
RemoteAppExpandWorkingDir bool `rdp:"remoteapplicationexpandworkingdir" default:"true"`
|
||||||
RemoteApplicationFile string `rdp:"remoteapplicationfile" default:"true"`
|
RemoteApplicationFile string `rdp:"remoteapplicationfile" default:"true"`
|
||||||
|
|||||||
Reference in New Issue
Block a user