updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rdesktop-raw / rdesktop.c.diff
blobe2b25f965f6854815aaef5b489bdbb5ffe45fae1
1 diff -u rdesktop-1.5.0.orig/rdesktop.c rdesktop-1.5.0/rdesktop.c
2 --- rdesktop-1.5.0.orig/rdesktop.c 2006-08-07 19:45:43.000000000 +0800
3 +++ rdesktop-1.5.0/rdesktop.c 2006-10-10 09:39:12.000000000 +0800
4 @@ -91,6 +91,7 @@
5 RD_BOOL g_owncolmap = False;
6 RD_BOOL g_ownbackstore = True; /* We can't rely on external BackingStore */
7 RD_BOOL g_seamless_rdp = False;
8 +RD_BOOL g_raw_keyboard = False;
9 uint32 g_embed_wnd;
10 uint32 g_rdp5_performanceflags =
11 RDP5_NO_WALLPAPER | RDP5_NO_FULLWINDOWDRAG | RDP5_NO_MENUANIMATIONS;
12 @@ -191,6 +192,7 @@
13 fprintf(stderr, " -0: attach to console\n");
14 fprintf(stderr, " -4: use RDP version 4\n");
15 fprintf(stderr, " -5: use RDP version 5 (default)\n");
16 + fprintf(stderr, " -y: use raw keyboard (default no)\n");
19 static void
20 @@ -427,7 +429,7 @@
21 #endif
23 while ((c = getopt(argc, argv,
24 - VNCOPT "Au:L:d:s:c:p:n:k:g:fbBeEmzCDKS:T:NX:a:x:Pr:045h?")) != -1)
25 + VNCOPT "Au:L:d:s:c:p:n:k:g:fbBeEmzCDKS:T:NX:a:x:Pr:045yh?")) != -1)
27 switch (c)
29 @@ -746,7 +748,9 @@
30 case '5':
31 g_use_rdp5 = True;
32 break;
34 + case 'y':
35 + g_raw_keyboard = True;
36 + break;
37 case 'h':
38 case '?':
39 default: