THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened. Details are below. User who did this - Patric Schenke (booiiing)
Attached to Project - awesome
Summary - disable click-propagation
Task Type - Evolution Request
Category - awful
Status - Unconfirmed
Assigned To - Operating System - All
Severity - Low
Priority - Normal
Reported Version - 3.4.9
Due in Version - Undecided
Due Date - Undecided
Details - Actions taken:
- create a shortcut for clients using awful.button
- choose an action that is not handled by awful.mouse
- try to use this shortcut on any client

Current behaviour:
The button pressed on the mouse will be propagated to the client, in addition 
to being used by the shortcut.

Desired behaviour:
An additional parameter decides whether the button-event is handed down to the client or 
"swallowed" by the shortcut-handler.
Alternatively, swallowing could be the new default behaviour, but I can see use 
for both variants, so I suggest implementing a switch.

Example:
Assuming an installed and working composite-manager, this code will let you 
change the opacity/transparency of clients by holding your modkey and scrolling 
the mousewheel:
--- snip ---
clientbuttons = awful.util.table.join(
   awful.button({modkey,},4,function(c) c.opacity=c.opacity+0.1 end),
   awful.button({modkey,},5,function(c) c.opacity=c.opacity-0.1 end),
}
--- snap ---
Currently however, this also results in scrolling up/down inside the 
client-window (browser, terminal, etc), which is annoying.

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=889

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

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

Reply via email to