> > I want to get key repetition message here!
>
> Can you be more precise? As you can read in spice-gtk code, send_key() is
> still
> doing some filtering of gtk key events, not directly sending them as Spice
> events:
I miss-understood that code, but now I can see how it works.
> send_key()
- Original Message -
> > > switch (key->type) {
> > > case GDK_KEY_PRESS:
> > > +flags |= VD_AGENT_KEYVAL_FLAG_DOWN;
> > > +spice_main_send_keyval(d->main, key->keyval, flags);
> >
> > This is the wrong place if you want to avoid the key repeatition issue
> > so
> > switch (key->type) {
> > case GDK_KEY_PRESS:
> > +flags |= VD_AGENT_KEYVAL_FLAG_DOWN;
> > +spice_main_send_keyval(d->main, key->keyval, flags);
>
> This is the wrong place if you want to avoid the key repeatition issue solved
> by
> "send_key" (synthesize press_and_r
On Mon, Oct 7, 2013 at 11:44 AM, wrote:
> Signed-off-by: Dietmar Maurer
>
> Index: new/gtk/channel-main.c
> ===
> --- new.orig/gtk/channel-main.c 2013-10-07 11:01:52.0 +0200
> +++ new/gtk/channel-main.c 2013-10-07 11:02
Signed-off-by: Dietmar Maurer
Index: new/gtk/channel-main.c
===
--- new.orig/gtk/channel-main.c 2013-10-07 11:01:52.0 +0200
+++ new/gtk/channel-main.c 2013-10-07 11:02:51.0 +0200
@@ -191,6 +191,7 @@
[ VD_AGE