Re: [AD] Linux mouse+keyboard problem |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2003-01-31, Ben Davis <bnd25@xxxxxxxxxx> wrote:
> Hi,
>
> There appears to be a weird bug in a recent CVS version of Allegro. If you
> hold the up and down arrow keys, and move the mouse, get_mouse_mickeys()
> returns strange values as if the mouse is suddenly jerked right quite a
> distance every now and then. This problem affects my Linux system - Mandrake
> 8.1, gcc 3.1, running in X with DGA - but it does not affect MSVC. I can't be
> more specific about the problem.
>
> Test material is at
> http://www.allegro.cc/forums/view_thread.php?_id=237297#post_238018
> (Bruce Perry is me). Yes, I am very evil >:)
I think I'm seeing what you're seeing, or maybe not. What happens if
you just put a rest(20) after your blit() call? Basically, I think it's
just that the background thread is not getting enough CPU time. This is
quite problematic with the X port (e.g. see how long it takes after a
key press for expal to stop).
Vincent will probably say it all works fine with SIGALRM.
--
王浩禎