<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#333333" bgcolor="#FFFFCC">
<div class="moz-cite-prefix">On 04/07/2015 10:45 AM, Alexey Korop
wrote:<br>
</div>
<blockquote cite="mid:55238AFD.2070004@gmail.com" type="cite">
<pre wrap="">Dana Jansens wrote on 06.04.2015 21:52:
AK> In my config are defined 16 keybinds with ShowMenu action.
AK> I want show all these menus at the screen center. Now I must in
AK> each of this 16 keybinds write
AK> <position> <x>center</x> <y>center</y> </position>
AK> May I somewhere write this only once without ugly
AK> copypasting?
DJ> There may be some XML tricks you can do. I'm not familiar with
DJ> any though, sorry.
In other word, openbox config don't allow define this. It is strange a
bit. There is a highest level option <middle> and there is the lowest
level option <position> inside the ShowMenu action but there is no
middle level options.</pre>
</blockquote>
excuse me, but what are you raving on about?<br>
it *is* possible, if you define it for each instance.<br>
and why is copy-pasting "ugly"?
<blockquote cite="mid:55238AFD.2070004@gmail.com" type="cite">
<pre wrap="">
I think it is sane to add in the <keyboard> section new option
<ShowMenuPosition> that define the default menu placement for all
keybinds. Natural in each ShowMenu action may be defined own position as
now.
</pre>
</blockquote>
a new option, just to avoid typing and learning how to use your code
editor?<br>
so, user-friendliness in exchange for lightweightness. i see where
this is going.<br>
just a hundred more requests like this and we're up there with unity
& kde.<br>
<blockquote cite="mid:55238AFD.2070004@gmail.com" type="cite">
<pre wrap="">
In my case:
<keyboard>
<ShowMenuPosition>
<x>center</x> <y>center</y>
</ShowMenuPosition>
...
</keyboard>
</pre>
</blockquote>
<blockquote cite="mid:55238AFD.2070004@gmail.com" type="cite">
</blockquote>
<br>
</body>
</html>