Thanks Alexey. I've commited a change to fix the Enter behaviour.<div><br></div><div>Cheers,</div><div>Dana<br><br><div class="gmail_quote">On Mon, Nov 8, 2010 at 10:11 AM, Alexey Korop <span dir="ltr"><<a href="mailto:akorop@gmail.com">akorop@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi, All<br>
<br>
In the 3.5 rc, after the submenu show delay for the keyboard navigation was improved, the behavior of the "Enter" key was very strange: "Enter" does nothing while submenu is not expanded.<br>
IMHO this is a bug, and the correct behavior of the "Enter" key must be the same as of the "Right" key, i.e. to expand and select the submenu.<br>
Correction if very simple<br>
<br>
--- /mnt/i/linux/dana/openbox.git/openbox/event.c 2010-11-04 16:12:42.000000000 +0200<br>
+++ ./openbox/event.c 2010-11-08 12:49:50.000000000 +0200<br>
@@ -1892,6 +1897,9 @@<br>
}<br>
<br>
else if (sym == XK_Return || sym == XK_KP_Enter) {<br>
+ if (frame->selected &&<br>
+ frame->selected->entry->type == OB_MENU_ENTRY_TYPE_SUBMENU)<br>
+ menu_frame_select(frame, frame->selected, TRUE);<br>
frame->press_doexec = TRUE;<br>
ret = TRUE;<br>
}<br>
<br>
This patch based on the "work" branch.<br>
<br>
Yours truly Alexey<br>
_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org" target="_blank">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
</blockquote></div><br></div>