[PATCH] xkb: Don't press+release keys on key events

Matthias Hopf mhopf at suse.de
Thu Jun 4 03:03:56 PDT 2009


On Jun 04, 09 09:25:43 +1000, Peter Hutterer wrote:
> > > The behaviour is still there on a key press event. Maybe it should be
> > > removed from there too? daniel?
> > No, AFAICS this is still needed for generating key repeats with the kbd
> > driver.
> What I'm getting at is that repeats should be triggered through XKB only, so
> if the driver still sends events for autorepeat maybe that could be fixed in
> the driver. Note that this applies for server 1.7 where XKB is mandatory.

Hm. Interesting. But I don't know enough of this code to easily do this.
I will only remove the release/press case for now, if you're confident
that removing both cases is correct we can still remove the other case
later on and revalidate.

Thanks

Matthias

-- 
Matthias Hopf <mhopf at suse.de>      __        __   __
Maxfeldstr. 5 / 90409 Nuernberg   (_   | |  (_   |__          mat at mshopf.de
Phone +49-911-74053-715           __)  |_|  __)  |__  R & D   www.mshopf.de


More information about the xorg-devel mailing list