From 1c97aa5be1812d3cbed1a930269ccd8d1cc66ef4 Mon Sep 17 00:00:00 2001 From: Henrik Andersson Date: Fri, 27 Jun 2014 13:15:24 +0000 Subject: [PATCH] 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 --- constants.h | 2 +- rdesktop.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/constants.h b/constants.h index 05ab56a..43fca71 100644 --- a/constants.h +++ b/constants.h @@ -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 diff --git a/rdesktop.c b/rdesktop.c index 9ebced8..4b73a25 100644 --- a/rdesktop.c +++ b/rdesktop.c @@ -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;