* help.c (help_event): Fix offset of event area for mouse click.

This commit is contained in:
Andrew V. Samoilov 2004-11-19 21:04:04 +00:00
parent 2d3fef18e5
commit 4ccc6e511c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-11-02 Pavel Tsekov <ptsekov@gmx.net>
* help.c (help_event): Fix offset of event area for mouse click.
2004-11-19 Roland Illig <roland.illig@gmx.de>
* Makefile.am: Excluded pipethough.3 from the distribution

View File

@ -479,6 +479,7 @@ 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){