mc/lib
Andrew Borodin 716479ba4f Ticket #3700: fix segfault after switch left panel to info mode.
(widget_replace): if new widget cannot take focus, move focus to other widget
before widget replacement.

In our case, the focused file panel is replaced by Info one. Info panel
a) isn't selectable (it never takes focus) and b) uses CWD of current
panel. Therefore focus must be moved to other file panel to make it
current and correctly set up it's CWD before first draw of Info panel.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-10-23 08:08:15 +03:00
..
event Clarify AM_CPPFLAGS. 2016-03-04 09:23:36 +03:00
filehighlight filehighlight: clarify includes. 2016-03-04 09:23:36 +03:00
mcconfig lib/mcconfig/paths.c: reduce scope of 'homedir' var. 2016-09-11 11:11:01 +03:00
search (mc_search__translate_replace_glob_to_regex): cleanup compile warning. 2016-07-29 09:32:04 +03:00
skin Get rid of global variables mc_main_config and mc_panels_config. 2016-05-07 16:19:02 +03:00
strutil Cleanup unused macros. 2016-07-29 09:32:04 +03:00
tty Fix typos. 2016-09-11 11:11:01 +03:00
vfs Cleanup unused macros. 2016-07-29 09:32:04 +03:00
widget Ticket #3700: fix segfault after switch left panel to info mode. 2016-10-23 08:08:15 +03:00
charsets.c Cleanup unused macros. 2016-07-29 09:32:04 +03:00
charsets.h lib/charsets.[ch]: clarify usage of const qualifier. 2016-04-16 10:23:44 +03:00
event-types.h Reimplement handling of ev_vfs_print_message_t message. 2015-11-05 14:33:21 +03:00
event.h
filehighlight.h filehighlight: clarify includes. 2016-03-04 09:23:36 +03:00
fileloc.h
fs.h Ticket #3464: (compute_namelen): remove... 2015-05-24 17:59:18 +03:00
glibcompat.c Update copyright years. 2016-01-01 11:48:10 +03:00
glibcompat.h Remove GLib-compatible code related to GLib < 2.26. 2016-01-01 11:48:06 +03:00
global.c Update copyright years. 2016-01-01 11:48:10 +03:00
global.h Get rid of #define const_cast(). 2016-09-11 11:11:01 +03:00
hook.c Update copyright years. 2016-01-01 11:48:10 +03:00
hook.h fixed doxygen documentation 2012-09-10 14:29:53 +03:00
keybind.c Ticket #3672: allow rebind TAB key to change panel. 2016-10-03 15:21:57 +03:00
keybind.h Ticket #3672: allow rebind TAB key to change panel. 2016-10-03 15:21:57 +03:00
lock.c Remove unneeded struct keyword for typedef'd structs 2016-03-04 09:23:38 +03:00
lock.h Changed lock_file() and unlock_file() functions 2012-03-06 11:52:30 +03:00
logging.c Get rid of global variables mc_main_config and mc_panels_config. 2016-05-07 16:19:02 +03:00
logging.h Clarify __attribute ((format (printf))) usage. 2015-11-05 14:33:20 +03:00
Makefile.am Replace obsolete INTLLIBS with LIBINTL for libmc 2016-05-07 16:28:47 +03:00
mcconfig.h Get rid of global variables mc_main_config and mc_panels_config. 2016-05-07 16:19:02 +03:00
search.h (mc_search_set_error): cleanup compile warning on older gcc compilers: 2016-07-29 09:29:36 +03:00
serialize.c Use meaningful errno or 0. 2016-02-02 09:42:51 +03:00
serialize.h
shell.c Ticket #3642: make --with-subshell=optional working again. 2016-06-28 09:40:27 +03:00
shell.h Add mc_shell_init() and mc_shell_deinit() functions. 2016-01-01 11:48:06 +03:00
skin.h Ticket #3204: As user, I want to use own default colors for viewer. 2014-05-07 23:03:33 +03:00
stat-size.h (ST_BLKSIZE): fix signed and unsigned comparision. 2016-04-25 13:15:12 +03:00
strescape.h
strutil.h Clarify __attribute ((format (printf))) usage. 2015-11-05 14:33:20 +03:00
timefmt.c Remove min() and max() macros. Use MIN() and MAX() macros from GLib. 2016-05-07 16:19:02 +03:00
timefmt.h
timer.c Update copyright years. 2016-01-01 11:48:10 +03:00
timer.h Ticket #2136: implement user-friendly interruption of long-time operations. 2014-07-22 13:40:30 +04:00
unixcompat.h Use #ifdef for autoconf provided marcos... 2015-05-03 19:43:48 +03:00
util.c Get rid of global variables mc_main_config and mc_panels_config. 2016-05-07 16:19:02 +03:00
util.h (load_mc_home_file): return data length. 2016-03-04 09:23:36 +03:00
utilunix.c Ticket #3660: unable to view archive content using F3. 2016-07-09 19:21:15 +03:00
utilunix.h
widget.h Rename Dlg_head to WDialog. 2012-11-19 21:42:47 +04:00