Fix constant naming and enabled windowskey by default.

Fixes bug #384

Thanks to Alexander Zakharov for pinpointing
the core issue.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1816 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Henrik Andersson 2014-06-27 13:15:24 +00:00
parent 6ef81653f7
commit 1c97aa5be1
2 changed files with 2 additions and 2 deletions

View File

@ -321,7 +321,7 @@ enum RDP_INPUT_DEVICE
#define RDP_LOGON_AUTO 0x0008
#define RDP_LOGON_NORMAL 0x0033
#define RDP_LOGON_COMPRESSION 0x0080 /* mppc compression with 8kB histroy buffer */
#define RDP_LOGON_BLOB 0x0100
#define RDP_LOGON_ENABLEWINDOWSKEY 0x0100
#define RDP_LOGON_COMPRESSION2 0x0200 /* rdp5 mppc compression with 64kB history buffer */
#define RDP_LOGON_LEAVE_AUDIO 0x2000
#define RDP_LOGON_PASSWORD_IS_SC_PIN 0x40000

View File

@ -554,7 +554,7 @@ main(int argc, char *argv[])
act.sa_flags = 0;
sigaction(SIGPIPE, &act, NULL);
flags = RDP_LOGON_NORMAL;
flags = RDP_LOGON_NORMAL | RDP_LOGON_ENABLEWINDOWSKEY;
prompt_password = False;
g_seamless_spawn_cmd[0] = domain[0] = g_password[0] = shell[0] = directory[0] = 0;
g_embed_wnd = 0;