On Thu, Jul 9, 2009 at 12:01 AM, Peter Hutterer <[email protected]>wrote:
> On Wed, Jul 08, 2009 at 10:24:20PM +0200, Nokan Emiro wrote: > > > Is Xi2 able to deliver me key events when an XGrabKeyboard() by a > > different client is in effect? > > no. that's kinda the point of grab (amongst other things). > > Wrong news... If so, then what is the way of writing an X client, that can get all the key events? For example: how would you write a universal macro recorder? How would you write a keylogger in X level? How would you write a task manager, that always gets the focus when the user presses Ctrl-Alt-T ? All these apps have to get all the key events even if someone else grabbed the keyboard. For example if VNC (or any other remote desktop) clients, virtual machine console apps, or such programs grab the keyboard, I think it should be possible to record the users activity... -- Uzlee
_______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
