Wanted - pointers re where to look for keyboard bug.

Peter Hutterer mailinglists at who-t.net
Fri Oct 12 05:51:42 PDT 2007


Nigel Cunningham wrote:
> I have the intermittent problem with some keys stopping working in KDE and 
> Gnome (I guess in general), even though events continue to be reported in 
> xev. Would someone please give me a pointer or two as to how I could go about 
> debugging this? I'm running xorg from git, and can use gdb from over LAN to 
> debug if I know what to look for. Patching and recompiling is no problem.

put breakpoints on

CoreProcessKeyboardEvent()
DeliverGrabbedEvent()
DeliverFocusedEvent()
DeliverEventsToWindow()


the last tells you whether the event is written to the client (in most 
cases).


Cheers
   Peter



More information about the xorg mailing list