summaryrefslogtreecommitdiffstats
path: root/krdc/rdp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-11-26 17:28:19 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2012-11-26 17:28:19 -0600
commit2c67f751ab4568d9c1d33d9a4be31e0ca33e8342 (patch)
treec74a5216a3cdac0102b9f149113e884660c5b06a /krdc/rdp
parentff26edf4064a15a77f6eb16bf45700a7f5eaacfb (diff)
downloadtdenetwork-2c67f751ab4568d9c1d33d9a4be31e0ca33e8342.tar.gz
tdenetwork-2c67f751ab4568d9c1d33d9a4be31e0ca33e8342.zip
Remove old *.patch files. Code is already merged or obsolete.
Diffstat (limited to 'krdc/rdp')
-rw-r--r--krdc/rdp/README.patch12
-rw-r--r--krdc/rdp/rdesktop.patch76
2 files changed, 0 insertions, 88 deletions
diff --git a/krdc/rdp/README.patch b/krdc/rdp/README.patch
deleted file mode 100644
index a3e705d8..00000000
--- a/krdc/rdp/README.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Read this for how to use the rdesktop patch:
-
-This patch is intended for rdesktop 1.3.1 only. It has not been tested
-with other versions, and future versions should (hopefully) include it
-by default.
-
-- Get a copy of the rdesktop 1.3.1 sources and unpack it.
-- Place the rdesktop.patch file in the top directory of the unpacked
- sources.
-- Go to the directory where you placed the patch and type the following
- command: patch -p 0 -i rdesktop.patch
-- You can now compile the sources as usual.
diff --git a/krdc/rdp/rdesktop.patch b/krdc/rdp/rdesktop.patch
deleted file mode 100644
index a027799c..00000000
--- a/krdc/rdp/rdesktop.patch
+++ /dev/null
@@ -1,76 +0,0 @@
---- rdesktop.c.orig 2004-03-08 18:02:58.000000000 +0100
-+++ rdesktop.c 2004-03-09 22:32:19.000000000 +0100
-@@ -27,6 +27,7 @@
- #include <sys/time.h> /* gettimeofday */
- #include <sys/times.h> /* times */
- #include <errno.h>
-+#include <X11/Xlib.h> /* Window */
- #include "rdesktop.h"
-
- #ifdef EGD_SOCKET
-@@ -68,6 +69,7 @@
- BOOL g_console_session = False;
- BOOL g_numlock_sync = False;
- extern BOOL g_owncolmap;
-+extern Window g_embed_wnd;
-
- #ifdef WITH_RDPSND
- BOOL g_rdpsnd = False;
-@@ -112,6 +114,7 @@
- fprintf(stderr, " -S: caption button size (single application mode)\n");
- fprintf(stderr, " -T: window title\n");
- fprintf(stderr, " -N: enable numlock synchronisation\n");
-+ fprintf(stderr, " -X: embed into another window with a given id.\n");
- fprintf(stderr, " -a: connection colour depth\n");
- fprintf(stderr, " -r: enable specified device redirection (currently: sound)\n");
- fprintf(stderr, " -0: attach to console\n");
-@@ -224,6 +227,7 @@
- prompt_password = False;
- domain[0] = password[0] = shell[0] = directory[0] = 0;
- strcpy(keymapname, "en-us");
-+ g_embed_wnd = 0;
-
- #ifdef RDP2VNC
- #define VNCOPT "V:Q:"
-@@ -231,7 +235,7 @@
- #define VNCOPT
- #endif
-
-- while ((c = getopt(argc, argv, VNCOPT "u:d:s:c:p:n:k:g:fbeEmCDKS:T:Na:r:045h?")) != -1)
-+ while ((c = getopt(argc, argv, VNCOPT "u:d:s:c:p:n:k:g:fbeEmCDKS:T:NX:a:r:045h?")) != -1)
- {
- switch (c)
- {
-@@ -374,6 +378,10 @@
- g_numlock_sync = True;
- break;
-
-+ case 'X':
-+ g_embed_wnd = strtod(optarg, NULL);
-+ break;
-+
- case 'a':
- g_server_bpp = strtol(optarg, NULL, 10);
- if (g_server_bpp != 8 && g_server_bpp != 16 && g_server_bpp != 15
---- xwin.c.orig 2004-03-08 18:02:58.000000000 +0100
-+++ xwin.c 2004-03-10 16:17:59.000000000 +0100
-@@ -41,6 +41,7 @@
- static int g_x_socket;
- static Screen *g_screen;
- Window g_wnd;
-+Window g_embed_wnd;
- BOOL g_enable_compose = False;
- static GC g_gc;
- static BOOL g_gc_initialized = False;
-@@ -929,6 +930,11 @@
- XFree(sizehints);
- }
-
-+ if ( g_embed_wnd )
-+ {
-+ XReparentWindow(g_display, g_wnd, g_embed_wnd, 0, 0);
-+ }
-+
- input_mask = KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask |
- VisibilityChangeMask | FocusChangeMask;
-