Bug 6372 - keyboard layout for certain menu called at toplevel
Status: RESOLVED WONTFIX
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: git-master
Hardware: PC Linux
: P3 normal
Assignee: Dana Jansens
QA Contact:
URL:
Depends on: 6364 6371
Blocks:
 
Reported: 2015-03-17 05:45 EDT by Alexey Korop
Modified: 2018-03-12 08:57:50 EDT
1 user (show)

See Also:


Attachments
topmenu_kbd_group_local.patch (2.29 KB, patch)
2015-03-17 05:45 EDT, Alexey Korop

Description Alexey Korop 2015-03-17 05:45:02 EDT
Created attachment 3525 [details]
topmenu_kbd_group_local.patch

This enhancement is similar to the bug 6371. Patch from bug 6371 allow to set default keyboard group for all toplevel menus (usually "en"), this patch allow to set keyboard group for certain menu. This patch has no sense if utf8 accelerators are not enabled (bug 6364).

Example (in menu.xml):

    <menu id="russian_songster" label="Russian songster" TopMenuKbdGroup="1">
       ...
    </menu>

If the keyboard layots are "en,ru" this mean that "russian_songster" menu called at the top level automatically set the russian layout for the accelerators.
Comment 1 Mikachu 2018-03-12 08:57:50 EDT
.