Page 1 of 1

CentOS: mouse wheel stops working

Posted: Mon Jan 28, 2013 10:47 am
by lujz
Hi,

After I close a Löve game, mouse wheel/scrolling no longer works.
OS info: Linux 2.6.32-279.19.1.el6.x86_64, CentOS release 6.3 (Final).

Reassigning the mouse wheel with xmodmap -e helps.
Is there a way to fix it in the Löve engine?

Re: CentOS: mouse wheel stops working

Posted: Mon Jan 28, 2013 7:00 pm
by slime
Do other games which use SDL for input/windowing (most linux ports of games, probably) behave the same way?

Re: CentOS: mouse wheel stops working

Posted: Mon Jan 28, 2013 7:59 pm
by bartbes
What's your desktop environment/window manager? Maybe that's interacting badly with SDL?

Re: CentOS: mouse wheel stops working

Posted: Mon Jan 28, 2013 8:52 pm
by lujz
slime wrote:Do other games which use SDL for input/windowing (most linux ports of games, probably) behave the same way?
Yes, on a rare occasion.

Re: CentOS: mouse wheel stops working

Posted: Mon Jan 28, 2013 8:57 pm
by lujz
bartbes wrote:What's your desktop environment/window manager? Maybe that's interacting badly with SDL?
Gnome 2.
I've now noticed that it doesn't happen every time.
It appears to happen if I run just the default love binary, but not if
I run an example from the tutorial.
Could also be that Ctrl+C doesn't exit properly, whereas Alt+F4 does.