Forums Archived

The forums are being archived. See this topic for more information.

Rubygame::Events::MouseMoved Problems in windowed mode.

Get help and support with Rubygame

Rubygame::Events::MouseMoved Problems in windowed mode.

Postby Rusty » Sun Dec 26, 2010 11:03 am

In windowed mode the Rubygame::Events::MouseMoved event is only triggered when a mouse button is held down. Full screen mode works as expected. Is this normal behavior?

I'm running Mac OSX 10.6.5, rubygame (2.6.4), ruby-sdl-ffi (0.3), libsdl @1.2.14_8, libsdl_gfx @2.0.20_0, libsdl_image @1.2.10_2, libsdl_mixer @1.2.11_0, libsdl_ttf @2.0.9_1

E.g.

Code: Select all
@screen = Rubygame::Screen.new Rubygame::Screen.get_resolution, 0, [Rubygame::HWSURFACE, Rubygame::DOUBLEBUF, Rubygame::FULLSCREEN]


Works as expected.

Code: Select all
@screen = Rubygame::Screen.new Rubygame::Screen.get_resolution, 0, [Rubygame::HWSURFACE, Rubygame::DOUBLEBUF]


Does't work as expected.

Its been causing issues with my ui.

Image
Rusty
 
Posts: 3
Joined: Sun Dec 26, 2010 10:50 am

Return to Help & Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron