Major cleanups, particularly in X code.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@28 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
b5082af223
commit
a42509f2e5
@ -172,7 +172,8 @@ enum RDP_INPUT_DEVICE
|
||||
#define MIX_TRANSPARENT 0
|
||||
#define MIX_OPAQUE 1
|
||||
|
||||
#define TEXT2_IMPLICIT_X 0x20
|
||||
#define TEXT2_VERTICAL 0x04
|
||||
#define TEXT2_IMPLICIT_X 0x20
|
||||
|
||||
/* RDP capabilities */
|
||||
#define RDP_CAPSET_GENERAL 1
|
||||
|
16
rdesktop.c
16
rdesktop.c
@ -33,14 +33,12 @@ int width = 800;
|
||||
int height = 600;
|
||||
int keylayout = 0x409;
|
||||
BOOL bitmap_compression = True;
|
||||
BOOL motion = True;
|
||||
BOOL sendmotion = True;
|
||||
BOOL orders = True;
|
||||
BOOL licence = True;
|
||||
BOOL use_encryption = True;
|
||||
BOOL desktop_save = True;
|
||||
BOOL grab_keyboard = True;
|
||||
BOOL fullscreen = False;
|
||||
int private_colormap = False;
|
||||
|
||||
/* Display usage information */
|
||||
static void
|
||||
@ -83,7 +81,7 @@ main(int argc, char *argv[])
|
||||
flags = RDP_LOGON_NORMAL;
|
||||
domain[0] = password[0] = shell[0] = directory[0] = 0;
|
||||
|
||||
while ((c = getopt(argc, argv, "u:d:s:c:p:n:w:h:k:bml?")) != -1)
|
||||
while ((c = getopt(argc, argv, "u:d:s:c:p:n:g:k:mbleKFVh?")) != -1)
|
||||
{
|
||||
switch (c)
|
||||
{
|
||||
@ -134,7 +132,7 @@ main(int argc, char *argv[])
|
||||
break;
|
||||
|
||||
case 'm':
|
||||
motion = False;
|
||||
sendmotion = False;
|
||||
break;
|
||||
|
||||
case 'b':
|
||||
@ -148,15 +146,11 @@ main(int argc, char *argv[])
|
||||
case 'e':
|
||||
use_encryption = False;
|
||||
break;
|
||||
case 'K':
|
||||
grab_keyboard = False;
|
||||
break;
|
||||
|
||||
case 'F':
|
||||
fullscreen = True;
|
||||
break;
|
||||
case 'v':
|
||||
private_colormap = True;
|
||||
break;
|
||||
|
||||
case 'h':
|
||||
case '?':
|
||||
default:
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#define VERSION "1.0.0"
|
||||
#define VERSION "1.1.0"
|
||||
|
||||
#define STATUS(args...) fprintf(stderr, args);
|
||||
#define ERROR(args...) fprintf(stderr, "ERROR: "args);
|
||||
|
Loading…
Reference in New Issue
Block a user