sillysloft / fluxbox

Fluxbox Window Manager (Mirror)
http://fluxbox.org/news/
Other
0 stars 1 forks source link

MouseWheel event #428

Open sillysloft opened 19 years ago

sillysloft commented 19 years ago

workspace wheeling doesnt work properly in 0.9.11. When wheeling the mouse once the next but one workspace is shown. I tracked this problem down and found out that the event for wheeling the mouse is raised twice (in eventLoop of Fluxbox in fluxbox.cc). This didn't happen with 0.9.10.

Reported by: hunoldinho

sillysloft commented 19 years ago

Logged In: YES user_id=1101187

sounds like:

http://sourceforge.net/mailarchive/message.php?msg\_id=10252535

Original comment by: akir

sillysloft commented 19 years ago

Original comment by: akir

sillysloft commented 19 years ago

Original comment by: hunoldinho

sillysloft commented 19 years ago

Logged In: YES user_id=752659

that's right ... the problem is related to http://sourceforge.net/mailarchive/message.php?msg\_id=10252535

What I still don't understand is that this problem has appeared since ugrading to 0.9.11 If there was a misconfigured mouse section why would version 0.9.10 work properly?

Original comment by: hunoldinho

sillysloft commented 19 years ago

Logged In: YES user_id=1101187

at least from what i know we dont have written anything in that area of the code. if your xserver has changed and is interpreting the same config-file with the same 2-mouse-devices or so now (instead of just using one mouse-device back in good old days :)) it will send fluxbox 2 wheelevents .. thus fluxbox acts as it should.

so, have you upgraded your xserver as well?

Original comment by: akir

sillysloft commented 19 years ago

Original comment by: akir

sillysloft commented 19 years ago

Logged In: NO

Nope, I haven't upgraded the Xserver as well. The strange thing is: with 0.9.11 only the wheel event is raised twice. The other ButtonPressMask events are passed to the eventLoop just once. I know that you haven't changed any code that handles events. Nevertheless, the problem exists for some reason. I also assumed that the problem has to do with the X. But since switching versions 0.9.10 and 0.9.11 back and forth changes the event handling it is more likely to be caused by fluxbox. Cheers

Original comment by: nobody

sillysloft commented 19 years ago

Logged In: YES user_id=752659

I did some more testing. I tried the latest version of fluxbox on my desktop machine with only one pointing device. And 0.9.11 works fine. Anyways, I am gonna try to figure out why the double event occurs on my notebook with 0.9.11 and not with 0.9.10. Cheers

Original comment by: hunoldinho

sillysloft commented 19 years ago

Original comment by: hunoldinho

sillysloft commented 19 years ago

Logged In: YES user_id=752659

Well, I turned out to be as mentioned in http://sourceforge.net/mailarchive/message.php?msg\_id=10252535 It's an issue of X or more precisely the XF86Config. In my case (Thinkpad) there were 3 pointing devices configured. And surprisingly Mouse[3] and Mouse[5] had identical entries. -> commented out one of them and it 0.9.11 runs like a charm

Original comment by: hunoldinho

sillysloft commented 19 years ago

Original comment by: hunoldinho

sillysloft commented 19 years ago

Original comment by: akir