[openbox] Specifying multiple mouse binding contexts at once
Dana Jansens
dana at orodu.net
Thu May 6 13:35:24 EDT 2010
On 2010-05-06, at 4:11 AM, all-lists at stefan-klinger.de wrote:
> Hi,
>
> another question: I want to use the same mouse bindings for the contexts
> Titlebar, Top, Left, Right, and Bottom. Is there a way to express this in the
> rc.xml file? Currently I'm using five (!) sections, all with the same content:
>
> <mouse>
> ...
> <context name="Titlebar">...</context>
> <context name="Top">...</context>
> <context name="Left">...</context>
> <context name="Right">...</context>
> <context name="Bottom">...</context>
> ...
> </mouse>
>
> This is ugly. Worse: if I change one of them, I have to keep the copies in sync,
> which is error prone.
>
> I have tried to write something like
>
> <mouse>
> ...
> <context name="Titlebar,Top,Left,Right,Bottom">...</context>
> ...
> </mouse>
>
> and I've also tried spaces instead of commas, but this don't seem to work. Is
> this possible at all?
It is not right now, unfortunately. Not at all a bad idea though.
Dana
More information about the openbox
mailing list