VT switch event

Andriy Gapon avg at icyb.net.ua
Sat Dec 5 03:38:20 PST 2009


on 05/12/2009 13:27 Peter Hutterer said the following:
> On Sat, Dec 05, 2009 at 12:40:12PM +0200, Andriy Gapon wrote:
>> So indeed, I used a small program xinput and here is its output around VT switch:
>> $ xinput watch-props "Logitech Deluxe 104"
>> Device 'Logitech Deluxe 104':
>>         Device Enabled (93):    1
>> ===> the above printed right after start
>> Property 'Device Enabled' changed.
>>         Device Enabled (93):    0
>> Property 'Device Enabled' changed.
>>         Device Enabled (93):    1
>> ===> this got printed after switching there and back
>>
>> I wonder why if this behavior is controllable by X configuration.
> 
> no, that's a fixed behaviour.  all input devices are disabled on VT switch
> and re-enabled when you switch back.
> amongst other things this causes some drivers to release the device so it is
> usable from the tty.

I realized that driver are called for VT switch-out and -in, but I didn't
realize that X client apps also get notified.

-- 
Andriy Gapon



More information about the xorg mailing list