how to intercept the key event across VM-borders
tianyong1979sh
tianyong1979sh at 126.com
Mon Aug 30 19:03:51 PDT 2010
the following words is what i want to do.
>> the operating envirnoment is like that:there is a host and a Virtual
>> Machine(VM) of Xen.the host is Fedora13 and the VM is another OS. our
>> command is that i want to intercept a special key ,such as F10. firstly i
>> use the fuction XGrabKey() of Xlib. this fuction cannot intercept the F10
>> key event when the VM OS is full screen. then i use the fuction
>> XGrabKeyboard .this function can intercep all the key event while others
>> application in the host XServer cannot be responsed. maybe i think the
>> XInput2 can resolve this problem . but i want to know how to resolve the
>> problem by using the fucntion XGrabKey or XGrabKeyboard ?
but someone reply me :
>those functions are limited and cannot do what you are trying for
>security-reasons. in fact i think it would be hard to be able to grab
>keys across VM-borders at all.
In the case what i described ,can not intercept the key event really?
if i can ,how to intercept?
thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100831/cab50ecd/attachment.htm>
More information about the xorg-devel
mailing list