mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-03-29 23:16:37 +00:00
Enable smart sizing
Smart sizing removes, in clients that support it, the scroll bars.
This commit is contained in:
@@ -213,7 +213,8 @@ func (c *Config) HandleDownload(w http.ResponseWriter, r *http.Request) {
|
|||||||
"connection type:i:"+strconv.Itoa(c.ConnectionType)+"\r\n"+
|
"connection type:i:"+strconv.Itoa(c.ConnectionType)+"\r\n"+
|
||||||
"username:s:"+render+"\r\n"+
|
"username:s:"+render+"\r\n"+
|
||||||
"domain:s:"+domain+"\r\n"+
|
"domain:s:"+domain+"\r\n"+
|
||||||
"bitmapcachesize:i:32000\r\n"
|
"bitmapcachesize:i:32000\r\n"+
|
||||||
|
"smart sizing:i:1\r\n"
|
||||||
|
|
||||||
http.ServeContent(w, r, fn, time.Now(), strings.NewReader(data))
|
http.ServeContent(w, r, fn, time.Now(), strings.NewReader(data))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user