the following words is what i want to do.<BR><PRE style="FONT-FAMILY: 宋体">>> 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 ?</PRE><PRE style="FONT-FAMILY: 宋体">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.</PRE><PRE style="FONT-FAMILY: 宋体">In the case what i described ,can not intercept the key event really?</PRE><PRE style="FONT-FAMILY: 宋体">if i can ,how to intercept?</PRE><PRE style="FONT-FAMILY: 宋体">thank you!</PRE>
<DIV></DIV><br><br><span title="neteasefooter"><span id="netease_mail_footer"><hr/>
<a href="http://qiye.163.com/?163" target="_blank">您想拥有和网易免费邮箱一样强大的软件吗?</a>
</span></span>