Re: [gtk-vnc-devel] [PATCH] Add an interface for sending raw key presses



Daniel P. Berrange wrote:
On Wed, Oct 24, 2007 at 02:43:21PM -0300, Jonh Wendell wrote:
Em Qua, 2007-10-24 às 12:32 -0500, Anthony Liguori escreveu:
It may be possible to unify the interface though. Maybe by having a second parameter to send_keys that was the event type. Possible event types would be PRESS, RELEASE, CLICK.
Yeah, perhaps it could have this signature:

send_keys (keys, size, flag)

where flag would be some combination of PRESS and RELEASE.
For instance, PRESS|RELEASE is the current behavior of send_keys().

Yes, this would work. Do we add a second method to keep ABI, or change the
first...

Do we care about ABI yet?  Has anyone shipped gtk-vnc in a distro release?

Regards,

Anthony Liguori

Dan.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]