Skip to content

Commit

Permalink
Add missing rdp options
Browse files Browse the repository at this point in the history
Some options were missing so they could not be set
in the rdp template.

Closes: #78
  • Loading branch information
bolkedebruin committed Sep 13, 2023
1 parent 6b32631 commit e9e592b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/rdpgw/rdp/rdp.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ const (
)

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"`
FullAddress string `rdp:"full address"`
AlternateFullAddress string `rdp:"alternate full address"`
Expand Down Expand Up @@ -75,6 +81,7 @@ type RdpSettings struct {
DesktopWidth int `rdp:"desktopwidth"`
DesktopScaleFactor int `rdp:"desktopscalefactor"`
BitmapCacheSize int `rdp:"bitmapcachesize" default:"1500"`
BitmapCachePersistEnable bool `rdp:"bitmapcachepersistenable" default:"true"`
RemoteApplicationCmdLine string `rdp:"remoteapplicationcmdline"`
RemoteAppExpandWorkingDir bool `rdp:"remoteapplicationexpandworkingdir" default:"true"`
RemoteApplicationFile string `rdp:"remoteapplicationfile" default:"true"`
Expand Down

0 comments on commit e9e592b

Please sign in to comment.