Argh -- "Don't return selection start as a press event." -- that worked,

alright, but it also disabled selections altogether! (Well, the
selecting worked, but the pasting elsewhere didn't.) To Do: Fix this
properly.
This commit is contained in:
William McBrine
2007-04-11 17:43:55 +00:00
parent eae44480c4
commit 2cd32252b1

View File

@@ -32,7 +32,7 @@
#include <stdlib.h>
#include <string.h>
RCSID("$Id: x11.c,v 1.79 2007/04/07 22:02:36 wmcbrine Exp $");
RCSID("$Id: x11.c,v 1.80 2007/04/11 17:43:55 wmcbrine Exp $");
#ifndef XPOINTER_TYPEDEFED
typedef char * XPointer;
@@ -2147,8 +2147,6 @@ static void XCursesButton(Widget w, XEvent *event, String *params,
{
_selection_off();
_selection_on(MOUSE_X_POS, MOUSE_Y_POS);
remove_release = True;
send_key = FALSE;
}
handle_real_release = True;