Am 20.11.2012 18:06, schrieb Uli Schlachter:
> How about using
>
> awful.key({ modkey }, "F2", nil, experiment)
This works. First, it's a bit weird, but it's logical that I get the
modkey+spacebar-keybind when I release F2 because I still have modkey
pressed. But it was quite a funny behavior before I realized that.
Works now and is understood, thank you!
I noticed another interesting thing: When I bind the space-fake-event to
a mouse button and press this mouse button over a xev-window, xev,
according to the event output on the terminal, gets the spacebar's
key_press and key_release event before the button's key_press event,
which should trigger the fake event. But doesn't awesome also rely on
these events? But that would mean that the fake spacebar-event has to be
between the button's key_press and key_release-event, wouldn't it? In
this case they would still be two separated key-events, assuming that
xev gives a proper view on the logic of X11 and its event-handling.
Thanks and cheers,
Manuel
--
To unsubscribe, send mail to [email protected].