Changeset 38836 in vbox for trunk/src/VBox/RDP/client/rdesktop.c
- Timestamp:
- Sep 23, 2011 11:18:17 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 74132
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/RDP/client/rdesktop.c
r37224 r38836 139 139 #endif 140 140 141 #ifdef WITH_BIRD_VD_HACKS 142 RD_BOOL g_keep_virtual_desktop_shortcuts = False; 143 #endif 144 141 145 #ifdef HAVE_ICONV 142 146 char g_codepage[16] = ""; … … 251 255 fprintf(stderr, " -4: use RDP version 4\n"); 252 256 fprintf(stderr, " -5: use RDP version 5 (default)\n"); 257 #ifdef WITH_BIRD_VD_HACKS 258 fprintf(stderr, " -H keep-virtual-desktop-shortcuts: Keep keyboard shortcuts typical\n" 259 " for switching virtual desktops (C-A-Left/Right). \n"); 260 #endif 253 261 } 254 262 … … 538 546 #define VNCOPT 539 547 #endif 548 #ifdef WITH_BIRD_VD_HACKS 549 #define VDHOPT "H:" 550 #else 551 #define VDHOPT 552 #endif 540 553 541 554 while ((c = getopt(argc, argv, 542 VNCOPT "Au:L:d:s:c:p:n:k:g:fbBeEmzCDKS:T:NX:a:x:Pr:045h?")) != -1)555 VNCOPT VDHOPT "Au:L:d:s:c:p:n:k:g:fbBeEmzCDKS:T:NX:a:x:Pr:045h?")) != -1) 543 556 { 544 557 switch (c) … … 883 896 g_use_rdp5 = True; 884 897 break; 898 899 #ifdef WITH_BIRD_VD_HACKS 900 case 'H': /* hacks */ 901 if (!strcmp(optarg, "keep-virtual-desktop-shortcuts")) 902 g_keep_virtual_desktop_shortcuts = True; 903 else 904 error("Unknown -H argument\n\n\tPossible argument is: keep-virtual-desktop-shortcuts\n"); 905 break; 906 #endif 885 907 886 908 case 'h':
Note:
See TracChangeset
for help on using the changeset viewer.