Re: moused related panic
From: Giorgos Keramidas (keramida_at_freebsd.org)
Date: 09/05/05
- Previous message: Sam Leffler: "Re: [6.0 beta3] problem with cvsup and wifi (iwi)"
- In reply to: Craig Rodrigues: "Re: moused related panic"
- Next in thread: Slawa Olhovchenkov: "Re: moused related panic"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 5 Sep 2005 20:29:03 +0300 To: Craig Rodrigues <rodrigc@crodrigues.org>
On 2005-09-05 12:27, Craig Rodrigues <rodrigc@crodrigues.org> wrote:
> On Sat, Sep 03, 2005 at 04:33:44PM +0300, Giorgos Keramidas wrote:
> > This was on a console running with 132x25 mode.
>
> Can you try this?
Sure. It will just have to wait a couple of hours or so, since I'm at
work and the test machine is at home.
Thanks (but you will indent this to less than 80 columns, right? :)
> Index: scmouse.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/dev/syscons/scmouse.c,v
> retrieving revision 1.38
> diff -u -u -r1.38 scmouse.c
> --- scmouse.c 30 Aug 2005 18:58:16 -0000 1.38
> +++ scmouse.c 5 Sep 2005 16:25:07 -0000
> @@ -157,7 +157,7 @@
> scp->mouse_ypos = (scp->ysize + scp->yoff)*scp->font_size - 1;
> }
>
> - if (scp->mouse_xpos != scp->mouse_oldxpos || scp->mouse_ypos != scp->mouse_oldypos) {
> + if (scp->mouse_xpos != scp->mouse_oldxpos || scp->mouse_ypos != scp->mouse_oldypos && scp->font_size != 0 && scp->font_width != 0) {
> scp->status |= MOUSE_MOVED;
> scp->mouse_pos =
> (scp->mouse_ypos/scp->font_size - scp->yoff)*scp->xsize
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Sam Leffler: "Re: [6.0 beta3] problem with cvsup and wifi (iwi)"
- In reply to: Craig Rodrigues: "Re: moused related panic"
- Next in thread: Slawa Olhovchenkov: "Re: moused related panic"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]