the following words&nbsp;is what i want to do.<BR><PRE style="FONT-FAMILY: 宋体">&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;operating&nbsp;envirnoment&nbsp;is&nbsp;like&nbsp;that:there&nbsp;is&nbsp;a&nbsp;host&nbsp;and&nbsp;a&nbsp;Virtual
&gt;&gt;&nbsp;Machine(VM)&nbsp;of&nbsp;Xen.the&nbsp;host&nbsp;is&nbsp;Fedora13&nbsp;and&nbsp;the&nbsp;VM&nbsp;is&nbsp;another&nbsp;OS.&nbsp;&nbsp;our
&gt;&gt;&nbsp;command&nbsp;is&nbsp;that&nbsp;i&nbsp;want&nbsp;to&nbsp;intercept&nbsp;a&nbsp;special&nbsp;key&nbsp;,such&nbsp;as&nbsp;F10.&nbsp;firstly&nbsp;i
&gt;&gt;&nbsp;use&nbsp;the&nbsp;fuction&nbsp;XGrabKey()&nbsp;of&nbsp;Xlib.&nbsp;this&nbsp;fuction&nbsp;cannot&nbsp;intercept&nbsp;the&nbsp;F10
&gt;&gt;&nbsp;key&nbsp;event&nbsp;when&nbsp;the&nbsp;VM&nbsp;OS&nbsp;is&nbsp;full&nbsp;screen.&nbsp;then&nbsp;i&nbsp;use&nbsp;the&nbsp;fuction
&gt;&gt;&nbsp;XGrabKeyboard&nbsp;.this&nbsp;function&nbsp;can&nbsp;intercep&nbsp;all&nbsp;the&nbsp;key&nbsp;event&nbsp;while&nbsp;others
&gt;&gt;&nbsp;application&nbsp;in&nbsp;the&nbsp;host&nbsp;XServer&nbsp;cannot&nbsp;be&nbsp;responsed.&nbsp;maybe&nbsp;i&nbsp;think&nbsp;the
&gt;&gt;&nbsp;XInput2&nbsp;can&nbsp;resolve&nbsp;this&nbsp;problem&nbsp;.&nbsp;but&nbsp;i&nbsp;want&nbsp;to&nbsp;know&nbsp;how&nbsp;to&nbsp;resolve&nbsp;the
&gt;&gt;&nbsp;problem&nbsp;by&nbsp;using&nbsp;the&nbsp;fucntion&nbsp;XGrabKey&nbsp;or&nbsp;XGrabKeyboard&nbsp;?</PRE><PRE style="FONT-FAMILY: 宋体">but someone reply me :
&gt;those&nbsp;functions&nbsp;are&nbsp;limited&nbsp;and&nbsp;cannot&nbsp;do&nbsp;what&nbsp;you&nbsp;are&nbsp;trying&nbsp;for
&gt;security-reasons.&nbsp;in&nbsp;fact&nbsp;i&nbsp;think&nbsp;it&nbsp;would&nbsp;be&nbsp;hard&nbsp;to&nbsp;be&nbsp;able&nbsp;to&nbsp;grab
&gt;keys&nbsp;across&nbsp;VM-borders&nbsp;at&nbsp;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>