85 |
BOOL g_numlock_sync = False; |
BOOL g_numlock_sync = False; |
86 |
BOOL g_owncolmap = False; |
BOOL g_owncolmap = False; |
87 |
BOOL g_ownbackstore = True; /* We can't rely on external BackingStore */ |
BOOL g_ownbackstore = True; /* We can't rely on external BackingStore */ |
88 |
|
BOOL g_rdp_compression = False; |
89 |
uint32 g_embed_wnd; |
uint32 g_embed_wnd; |
90 |
uint32 g_rdp5_performanceflags = |
uint32 g_rdp5_performanceflags = |
91 |
RDP5_NO_WALLPAPER | RDP5_NO_FULLWINDOWDRAG | RDP5_NO_MENUANIMATIONS; |
RDP5_NO_WALLPAPER | RDP5_NO_FULLWINDOWDRAG | RDP5_NO_MENUANIMATIONS; |
576 |
case 'z': |
case 'z': |
577 |
DEBUG(("rdp compression enabled\n")); |
DEBUG(("rdp compression enabled\n")); |
578 |
flags |= RDP_COMPRESSION; |
flags |= RDP_COMPRESSION; |
579 |
|
g_rdp_compression = True; |
580 |
break; |
break; |
581 |
|
|
582 |
case 'x': |
case 'x': |
742 |
STRNCPY(g_hostname, fullhostname, sizeof(g_hostname)); |
STRNCPY(g_hostname, fullhostname, sizeof(g_hostname)); |
743 |
} |
} |
744 |
|
|
|
if ((flags & RDP_COMPRESSION) && (g_server_bpp > 8)) |
|
|
{ |
|
|
warning("rdp compression not supported for bpp > 8, compression disabled\n"); |
|
|
flags ^= RDP_COMPRESSION; |
|
|
} |
|
|
|
|
745 |
if (prompt_password && read_password(password, sizeof(password))) |
if (prompt_password && read_password(password, sizeof(password))) |
746 |
flags |= RDP_LOGON_AUTO; |
flags |= RDP_LOGON_AUTO; |
747 |
|
|