Jacek Kurzyca wrote:
I have added this but it does not help. I then comment "mouse IMPS2" line but it does not help too. I assume svgalib doesn't need to be recompiled to the changes take effect.
You said the mouse in mousetest works fine. I suppose that's with the same configuration (svgalib etc.), so I think it's unlikely that it's the svgalib settings.
I know where my program crashes. It's when I run GrMouseEvent(GR_M_EVENT,&evt);
(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?
(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.)
Frank