From 4ccc6e511cff8e1d583625107a8656adaa106e42 Mon Sep 17 00:00:00 2001 From: "Andrew V. Samoilov" Date: Fri, 19 Nov 2004 21:04:04 +0000 Subject: [PATCH] * help.c (help_event): Fix offset of event area for mouse click. --- src/ChangeLog | 4 ++++ src/help.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1fde47398..811793329 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2004-11-02 Pavel Tsekov + + * help.c (help_event): Fix offset of event area for mouse click. + 2004-11-19 Roland Illig * Makefile.am: Excluded pipethough.3 from the distribution diff --git a/src/help.c b/src/help.c index f0fb10627..e73f7e04c 100644 --- a/src/help.c +++ b/src/help.c @@ -479,8 +479,9 @@ static int help_event (Gpm_Event *event, Widget *w) return 0; /* The event is relative to the dialog window, adjust it: */ + event->x -= 2; event->y -= 2; - + if (event->buttons & GPM_B_RIGHT){ currentpoint = startpoint = history [history_ptr].page; selected_item = history [history_ptr].link;