Hi Sam,

On Fri, Dec 11, 2009 at 07:22:24AM -0800, Sam Lantinga wrote:
> I haven't been able to reproduce the Linux input problem.

I've been able to reproduce the problem using Debian testing with the
SDL 1.2.14 package from unstabe. My WM is fvwm. I looked at the events I
received:
- When I press the mouse button down I don't receive a
  SDL_MOUSEBUTTONDOWN event.
- After releasing the button I do receive a SDL_MOUSEBUTTONUP event.
So it seems the SDL_MOUSEBUTTONDOWN events aren't send for some reason.

> Interestingly in the original bug report he mentions that one of the
> buttons in the game works, but not most of them, which boggles my
> mind. :)

Most button widgets in Wesnoth need a SDL_MOUSEBUTTONDOWN and
SDL_MOUSEBUTTONUP event in order to execute their 'on click' code. The
mail button, which works with SDL 1.2.14, is an exception and it executes
its 'on click' code when it receives a SDL_MOUSEBUTTONUP event. When
only SDL_MOUSEBUTTONUP events are send, the behaviour that user observed
is the expected behaviour.

I hope this information helps you to track down the problem.

-- 
Regards,
Mark de Wever aka Mordante/SkeletonCrew

_______________________________________________
Wesnoth-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-dev

Reply via email to