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

Bug#614127: confirmed on allmachines: painfull



Julien Cristau, le Sat 26 Feb 2011 01:18:27 +0100, a écrit :
> On Sat, Feb 26, 2011 at 01:15:33 +0100, Samuel Thibault wrote:
> 
> > Julien Cristau, le Fri 25 Feb 2011 18:44:22 +0100, a écrit :
> > > Why "at best"?  It sounds like checking whether the active VT is in
> > > KD_TEXT is exactly what's needed here.
> > 
> > No, because that may just be an fbterm, still using the normal keyboard
> > processing, and not Xorg.
> > 
> So you'd want to use KDGKBMODE and check for K_RAW instead?

Right.  That won't tell you for sure that it's an X server, but it'll at
least tell you it's an application which processes keys itself.

Samuel



Reply to: