Re: mouse click offset in help
- From: Egmont Koblinger <egmont uhulinux hu>
- To: Pavel Tsekov <ptsekov gmx net>
- Cc: mc-devel gnome org
- Subject: Re: mouse click offset in help
- Date: Fri, 19 Nov 2004 19:32:19 +0100
On Fri, Nov 19, 2004 at 08:20:49PM +0200, Pavel Tsekov wrote:
> I don't think that the attached patch is the best possible solution.
> Please, consider the attached one-liner.
Yes, your patch is definitely much better than my one. Dear developers,
please apply it!
bye,
Egmont
> Index: help.c
> ===================================================================
> RCS file: /cvsroot/mc/mc/src/help.c,v
> retrieving revision 1.49
> diff -u -p -r1.49 help.c
> --- help.c 18 Sep 2004 14:30:58 -0000 1.49
> +++ help.c 19 Nov 2004 17:48:45 -0000
> @@ -479,6 +479,7 @@ static int help_event (Gpm_Event *event,
> return 0;
>
> /* The event is relative to the dialog window, adjust it: */
> + event->x -= 2;
> event->y -= 2;
>
> if (event->buttons & GPM_B_RIGHT){
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]