Opened 6 years ago

Closed 6 years ago

#1101 closed Bug Report (fixed)

x11_on_gtk2: send keys up to the parent

Reported by: falkTX Owned by: David Robillard
Priority: major Component: Suil
Keywords: Cc:


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 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by falkTX

comment:1 Changed 6 years ago by David Robillard

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 6 years ago by David Robillard

Resolution: fixed
Status: newclosed

Applied in 57a850c/suil, thanks.

Note: See TracTickets for help on using tickets.