It's useful to have a working X server if a client holds a grab when it triggers a debugger breakpoint

Peter Hutterer peter.hutterer at who-t.net
Mon May 25 22:33:56 PDT 2009


On Tue, May 26, 2009 at 01:55:17PM +1000, David Campbell wrote:
> Daniel,
>
> If the "kill all grabs" functionality came back as an XKB action, that  
> wouldn't help in this situation, would it, given that CTRL-ALT-<number>  
> isn't working, which would seem to indicate that a synchronous grab is  
> used?  If VT switching doesn't work due to a synchronous grab, then an  
> XKB action wouldn't either, would it?

That is unfortunately correct. AFAICT the only reason why this ever worked
was because the kbd driver switched, not the server.

> Peter Hutterer wrote:
>> VT switching only works as long as the grab is asynchronous, otherwise
>> events are queued up on the device for replaying and never pass through the
>> XKB paths that trigger this behaviour.
> Regards,
> -- Dave
>
> Daniel Stone wrote:
>> On Tue, May 26, 2009 at 03:46:12AM +0200, Maarten Maathuis wrote:
>>   
>>> I personally wouldn't mind a kill all grabs button/key/whatever. Even
>>> if you can debug a grab issue, you don't always have the time or the
>>> right machine (debugging symbols and friends) to do it.
>>>     

Cheers,
  Peter



More information about the xorg mailing list