45 |
char hostname[16]; |
char hostname[16]; |
46 |
char keymapname[16]; |
char keymapname[16]; |
47 |
int keylayout = 0x409; /* Defaults to US keyboard layout */ |
int keylayout = 0x409; /* Defaults to US keyboard layout */ |
48 |
int width = 800; |
int width = 800; /* If width or height are reset to zero, the geometry will |
49 |
|
be fetched from _NET_WORKAREA */ |
50 |
int height = 600; |
int height = 600; |
51 |
int tcp_port_rdp = TCP_PORT_RDP; |
int tcp_port_rdp = TCP_PORT_RDP; |
52 |
BOOL bitmap_compression = True; |
BOOL bitmap_compression = True; |
186 |
break; |
break; |
187 |
|
|
188 |
case 'g': |
case 'g': |
189 |
|
if (!strcmp(optarg, "workarea")) |
190 |
|
{ |
191 |
|
width = height = 0; |
192 |
|
break; |
193 |
|
} |
194 |
|
|
195 |
width = strtol(optarg, &p, 10); |
width = strtol(optarg, &p, 10); |
196 |
if (*p == 'x') |
if (*p == 'x') |
197 |
height = strtol(p + 1, NULL, 10); |
height = strtol(p + 1, NULL, 10); |