Comment 14 for bug 923410

Revision history for this message
Paul Sladen (sladen) wrote :

First HUD key-binding change:

bzr log -r 1737.2.5..1737.2.6

  revno: 1737.2.6
  committer: Gord Allott <email address hidden>
  branch nick: hud-proto
  timestamp: Fri 2011-12-02 14:47:45 +0000
  message:
    change the key binding for hud to <Super>H

bzr diff -r 1737.2.5..1737.2.6
  === modified file 'plugins/unityshell/unityshell.xml.in'
  --- plugins/unityshell/unityshell.xml.in 2011-11-15 18:24:50 +0000
  +++ plugins/unityshell/unityshell.xml.in 2011-12-02 14:47:45 +0000
  @@ -43,5 +43,5 @@
                   <option name="show_hud" type="key">
                       <_short>Key to show the matrix</_short>
                       <_long>Make the matrix appear with that key</_long>
  - <default>&lt;Shift&gt;h</default>
  + <default>&lt;Super&gt;h</default>
                     </option>

Second key-binding change is:

  bzr diff -r 1737.8.2..1737.8.3

which introduces a bit of helper code too, including a 50 ms hard-coded timeout. However, the whole things seems to hinge upon:

  optionGetShowHud().key().toString() == action->key().toString()

which doesn't seem to be capable of expressing the requirement "Press and release of Alt with no other keys touched (pressed, or released) in the meantime.