ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] Second keypress falls through


From: shawn
Subject: Re: [RP] Second keypress falls through
Date: Mon Oct 22 00:24:08 2001
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105

Jesper Holmberg <address@hidden> writes:

> * On Sun Oct 21, shawn wrote:
> > when #2 happens before #3 is when things mess up. The race condition
> > is between ratpoison switching windows and the user hitting the second
> > keystroke.
> 
> Hmmm, interesting. But I don't think I fully understand: how come
> ratpoison never misses the first key stroke, but sometimes the second?
> In other words, why does it not capture and keep the second key stroke
> until it can be analyzed? Not trying to criticize here, just to better
> understand.

X handles that, not ratpoison. Ratpoison asks X to be notified about
key events. Lets remember that ratpoison is just another X client like
emacs, or xterm, or whatever. The ONLY difference is that ratpoison
has the SubstructureRedirectMask on the root window. Only one client
can have this.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]