[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: X client receives keys that are not grabbed
From:       Marvin Raaijmakers <marvin.nospam () gmail ! com>
Date:       2006-04-27 6:28:55
Message-ID: 1146119335.6694.5.camel () localhost ! localdomain
[Download RAW message or body]

On Mon, 2006-04-24 at 19:09 -0700, Octavio Alvarez wrote:

> On Fri, 21 Apr 2006 05:42:04 -0700, Marvin Raaijmakers  
> <marvin.nospam@gmail.com> wrote:
> 
> Related project, mine: http://superkb.sourceforge.net/
> 
> > For some reason this doesn't work, because after calling the
> > XTest functions the next XNextEvent call will give a key event of the
> > simulated F-key.
> 
> Isn't this what you expect? I don't know if I understood your question,
> correctly, but you should get XNextEvent to receive the simulated
> key event.

I did not expect this, because I am not grabbing any F-key.

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.8.1">
</HEAD>
<BODY>
On Mon, 2006-04-24 at 19:09 -0700, Octavio Alvarez wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Fri, 21 Apr 2006 05:42:04 -0700, Marvin Raaijmakers  </FONT>
<FONT COLOR="#000000">&lt;<A \
HREF="mailto:marvin.nospam@gmail.com">marvin.nospam@gmail.com</A>&gt; wrote:</FONT>

<FONT COLOR="#000000">Related project, mine: <A \
HREF="http://superkb.sourceforge.net/">http://superkb.sourceforge.net/</A></FONT>

<FONT COLOR="#000000">&gt; For some reason this doesn't work, because after calling \
the</FONT> <FONT COLOR="#000000">&gt; XTest functions the next XNextEvent call will \
give a key event of the</FONT> <FONT COLOR="#000000">&gt; simulated F-key.</FONT>

<FONT COLOR="#000000">Isn't this what you expect? I don't know if I understood your \
question,</FONT> <FONT COLOR="#000000">correctly, but you should get XNextEvent to \
receive the simulated</FONT> <FONT COLOR="#000000">key event.</FONT>
</PRE>
</BLOCKQUOTE>
I did not expect this, because I am not grabbing any F-key.
</BODY>
</HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic