mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 15:55:14 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user