allow windowid to be hexadecimal, which is what krdc actually uses...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@870 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
6b43ce2883
commit
abb049b7d0
@ -103,7 +103,7 @@ state, but might cause problems with some Xservers like Xvnc.
|
|||||||
.TP
|
.TP
|
||||||
.BR "-X <windowid>"
|
.BR "-X <windowid>"
|
||||||
Embed rdesktop-window in another window. The windowid is expected to
|
Embed rdesktop-window in another window. The windowid is expected to
|
||||||
be decimal.
|
be decimal or hexadecimal (prefixed by 0x).
|
||||||
.TP
|
.TP
|
||||||
.BR "-a <bpp>"
|
.BR "-a <bpp>"
|
||||||
Sets the colour depth for the connection (8, 15, 16 or 24).
|
Sets the colour depth for the connection (8, 15, 16 or 24).
|
||||||
|
@ -558,7 +558,7 @@ main(int argc, char *argv[])
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'X':
|
case 'X':
|
||||||
g_embed_wnd = strtol(optarg, NULL, 10);
|
g_embed_wnd = strtol(optarg, NULL, 0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'a':
|
case 'a':
|
||||||
|
Loading…
Reference in New Issue
Block a user