Mouse conflict with svgalib
Frank Heckenbach
f.heckenbach at fh-soft.de
Wed Nov 22 15:49:49 CET 2006
Jacek Kurzyca wrote:
> Jacek Kurzyca wrote:
>
> > I've added getch() after GrMouseGetEvent and when I moved mouse (not in gdb) then program crashes, getch() isn't issued and on console I receive a message:
> >
> > ---------------------
> > svgalib 1.4.3
> > svgalib: Failed to initialize maouse.
> > rivafb_open START
> >
> >
> >
> >
> >
> > rivafb_release END
> > ---------------------
>
> I discover now this message is displayed before I change graphics to 1024x768x256c.
> I've wrote test code:
>
> GrSetMode(...);
> getch(); // mouse init function is far away after this code
>
> And if I click Ctrl-C while program's waiting for a key, program exits and above message is visible on the screen (text mode).
Well, we can keep on guessing, but I don't think that's very
efficient. As I wrote, showing some code or at least a backtrace
might help ...
Frank
--
Frank Heckenbach, f.heckenbach at fh-soft.de
http://fjf.gnu.de/
GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)
More information about the Grx
mailing list