]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Add some missing GTK focus-in event handlers.
authorSimon Tatham <anakin@pobox.com>
Sat, 26 Sep 2015 10:48:21 +0000 (11:48 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 26 Sep 2015 10:51:23 +0000 (11:51 +0100)
commit81152e5f3811b8da3b9f8ce280245942141d8da2
tree42262c4640c68c2a8fdf5074b2c515117e9a7277
parent945837727580fbbbe615e5791e1e681c60501150
Add some missing GTK focus-in event handlers.

Fixes a behaviour which I intended all along but apparently didn't
work before on GTK: if you start PuTTY, _select_ a saved session in
the list box but don't hit Load, and then just hit Open, then it will
be implicitly loaded and run for you, as a special case to save you an
extra button-press.

This depends on noticing that the saved-sessions list box last had the
focus, for which I need my widget_focus() handler to be called for
basically all config widgets so that I can track what _did_ last have
focus. Unfortunately, I missed a couple out.
unix/gtkdlg.c