Re: [wmii] ClientClick-event when moving mouse wheel even inside windows

From: Kris Maglione <jg_AT_suckless.org>
Date: Tue, 18 Mar 2008 21:34:41 -0400

On Tue, Mar 18, 2008 at 10:14:02AM +0100, Benjamin Hanzelmann wrote:
>sadly I did not have time to look into this lately, but today I noticed
>the scroll wheel is working if I hold the middle mouse button (=> mouse
>wheel ;) while scrolling. Huh? It also works in some dialog windows like
>the eclipse class finder. Hm. Does anyone know where to start looking
>for this in the code? I'm not good at C, but this is annoying. ;)

You may want to add:

if(!e->subwindow)

to bup_event in frame.c, before the ClientClick event is
broadcast. It really *shouldn't* be needed, though.

-- 
Kris Maglione
Any theory can be made to fit any facts by means of
approximate, additional assumptions.
PGP: http://suckless.org/~jg/pubkey.pgp
SHA1 (pubkey.pgp) = 2d464f9dbb186bee6f4faa88e2f6c5802bcfd935
Received on Wed Mar 19 2008 - 02:35:05 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:38:27 UTC