]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Clean up GTK keyboard event diagnostics.
authorSimon Tatham <anakin@pobox.com>
Sun, 6 Sep 2015 08:13:48 +0000 (09:13 +0100)
committerSimon Tatham <anakin@pobox.com>
Sun, 6 Sep 2015 08:19:32 +0000 (09:19 +0100)
commit82824e18f00e83717b026be8485d4f6b44881e38
tree6ba3abd0ce8e2aaacbf72d96cdb1eb35777675fc
parentfd7687a985275cd12625ddab365a68b51c6106e5
Clean up GTK keyboard event diagnostics.

When I introduced the KEY_EVENT_DIAGNOSTICS system last month in
commit 769600b22, I somehow didn't notice that it sat next to an
existing system of ifdefs labelled KEY_DEBUGGING, which did some
things worse but some things better.

Now I've expanded both of those into a fairly complete system of
diagnostics (keeping the newer name of KEY_EVENT_DIAGNOSTICS), and
made them use debug() rather than printf() so that in situations where
no standard output is available I can still retrieve the diagnostics
from debug.log.
unix/gtkwin.c