jed-users mailing list

[2002 Date Index] [2002 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Re: Copy/Paste with Xwindow


Guenter Milde <G.Milde@xxxxxxxxxxxxxxxxxxxx> wrote:
>The problem arises, if you want to bind the Xwindow interactions to a key:

Try this patch to jed/src/xterm.c.  Thanks, --John

--- ../../release/jed/jed-B0.99-15/src/xterm.c	Mon Oct  8 00:48:16 2001
+++ xterm.c	Fri Aug  9 10:50:20 2002
@@ -64,6 +64,7 @@
 #include "sig.h"
 #include "file.h"
 #include "vterm.h"
+/*#include "colors.h"*/
 
 /* Fixes some X headers... */
 #ifndef Button6Mask
@@ -1010,6 +1011,12 @@
 	  move_input_position ();
 #endif
 	return IsModifierKey (XLookupKeysym (&report->xkey, 0));
+
+      case SelectionNotify:
+	(void) receive_selection (report);
+	if (Performing_Update == 0)
+	  update_cmd (&Number_One);
+	break;
 
       default:
 	if (Debug_Xjed)

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2002 date index] [2002 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]