mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* help.c (help_event): Fix offset of event area for mouse click.
This commit is contained in:
parent
2d3fef18e5
commit
4ccc6e511c
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user