Bug 6068 - Support for key release events of keyboard bindings
Status: RESOLVED INVALID
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: 3.5.2
Hardware: PC Linux
: P3 normal
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2013-11-22 04:40 EST by Felix Berrit
Modified: 2014-10-27 20:57:41 EDT
1 user (show)

See Also:



Description Felix Berrit 2013-11-22 04:40:55 EST
Is it possible to support key release events for keyboard bindings?

Example:

It is not possible to bind an action to the Meta key only without having conflicts with other keybindings that involve the Meta key.

    <keybind key="Super_L">
      <action name="ShowMenu">
        <menu>root-menu</menu>
      </action>
    </keybind>

This binding triggers the menu on every Meta key press event, i.e. also when the Meta key is pressed in any other combination with other keys.
Comment 1 Mikachu 2014-10-27 20:57:41 EDT
Even if the action triggered when you released the key, it would still always trigger. Openbox only knows about keyboard events that you have bound, all others are sent to the focused client directly by X, so there's not any reasonable way to implement this afaik.