#1101 closed Bug Report (fixed)

x11_on_gtk2: send keys up to the parent

Reported by: falkTX Owned by: dave
Priority: major Component: Suil
Keywords: Cc:

Description

Currently suil x11_on_gtk2 has a custom key filter, which handles host->ui events.
Sadly it does not handle ui->host events (say, a ui that wants to send back some keys to the host that it does not use).
This is very handy, for example, for plugins in ardour which can send back 'spacebar' to control transport.

Attached patch makes this possible by sending the event up to the parent window if the target was the suil plug/socket.

Attachments (1)

suil-x11_on_gtk2-host-events.patch (1.8 KB) - added by falkTX 23 months ago.

Download all attachments as: .zip

Change History (3)

Changed 23 months ago by falkTX

comment:1 Changed 22 months ago by dave

Do you know a use case where I can see the difference this makes (other than the space bar in Ardour which is handled specially)?

It seems like this would botch some key delivery to the plugin as well, but I might not understand it correctly.

comment:2 Changed 21 months ago by dave

  • Resolution set to fixed
  • Status changed from new to closed

Applied in 57a850c/suil, thanks.

Note: See TracTickets for help on using tickets.