thx for the great help.

XAllowEvents together with Ivan's  hint (disable autorepeat per key)
works absolute perfectly :))


> XKB allows you to switch to "detectable auto-repeat" mode, where you
> get Press/Press/Press/Release rather than 
> Press/Release Press/Release Press/Release.
> 
> You can emulate this on servers without XKB by looking at the timestamps
> for the events. (You can look at the GTK+ sources in gtk+/gdk/x11 /
> to see both how it uses XKB and how it emulates when XKB is missing)
> 
> With that, you should be able to come to something pretty close
> to what you want; reference here is the "locate pointer" code in
> the GNOME control center 
> (gnome-control-center/gnome-settings-daemon/gnome-settings-mouse.c)
> 
> That shows how to use XGrabKey and XAllowEvents to trap a press/release
> of a key without intervening key presses, while otherwise letting
> through the key events to applications.
> 
> Regards,
>                                               Owen

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to