Skip to content
Snippets Groups Projects
Commit e9e592b4 authored by Bolke de Bruin's avatar Bolke de Bruin
Browse files

Add missing rdp options

Some options were missing so they could not be set
in the rdp template.

Closes: #78
parent 6b326314
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,12 @@ const ( ...@@ -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 { ...@@ -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"`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment