Re: Re: Mouse conflict with svgalib
Jacek Kurzyca
gepardzik at o2.pl
Mon Nov 20 09:33:03 CET 2006
> > I'd like to use mouse in my program. I've compile GRX 2.4.6 with:
> >
> > USE_DIRECT_MOUSE_DRIVER=y
> > USE_SVGALIB_DRIVER=y
> > USE_FRAMEBUFFER_DRIVER=y
> >
> > Mouse in mousetest works fine. But when I compile my program:
> >
> > gcc -o chess chess.c -lgrx20 -ljpeg -lpng -lvga
> >
> > and run, it crash when I moved the mouse.
> >
> > Any idea what's wrong?
>
> Unlikely without seeing your program ...
>
> If you know how to use gdb, you can use it to find out where it
> crashes.
>
> Frank
>
> --
> Frank Heckenbach, f.heckenbach at fh-soft.de
> http://fjf.gnu.de/
> GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)
I know where my program crashes. It's when I run
GrMouseEvent(GR_M_EVENT,&evt);
and moved mouse while this function's running.
If I click mouse button program goes on. It crashes only after mouse move.
Jacek
More information about the Grx
mailing list