Re: Re: Mouse conflict with svgalib
gepardzik at o2.pl
Wed Nov 22 11:20:34 CET 2006
> (I suppose you mean GrMouseGetEvent.)
> > and moved mouse while this function's running.
> > If I click mouse button program goes on. It crashes only after mouse move.
> Have you checked this with gdb? Can you send a backtrace ("bt" in
> gdb) of the crashed program?
I had just checked this with gdb. In gdb my program do nothing when I moved the mouse.
> (You know, the fact that it crashes after mouse movement doesn't
> necessarily mean that it crashes in GrMouseGetEvent. It could also
> be an error elsewhere in your program, in the code that's executed
> after mouse movement, or something else.)
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: Failed to initialize maouse.
More information about the Grx