Hi,

I'm in the process of switching from pekwm to awesome (actually for the
second time, I quit awesome because of LEGEN... wait for it... DARY
config syntax changes ;) ) and I'm missing only one feature. What I'm
trying to achieve is emulating mouse button 2 click through Mod4 + button 3
combination. In pekwm it looks like:

ButtonRelease = "Mod4 3" { Actions = "Exec xdotool click 2" }

and in awesome:

awful.button({ modkey }, 3, function () awful.util.spawn("xdotool click 2") end)

(I also tried to add function to release signal, but this one wasn't
triggered at all)

The difference between these two (except for the later doesn't work and
former do) is that pekwm after binding Mod4+3 combination blocks mouse
button 3 events, whereas awesome doesn't. In a result event sequence is
produced: "B3DOWN B2DOWN B2UP B3UP" which does not always work - it
depends whether application prefer to handle DOWN or UP event. Is it
possible to "mask" button event from binding combination in awesome?


Best regards,
Jan Palus

-- 
To unsubscribe, send mail to [email protected].

Reply via email to