in empts spaces, but thats not true when reversing (e.g. selection),
so also check for matching fg colours. This fixes the problem where
selecting newly scrolled-in lines would exhibit wrong colours.
+ - fix a bug in the perl interface causing focus in events to generate
+ focus out perl events, causing bad focus effects with -pe tabbed.
- fix a race resulting in a crash on exiting.
- fix a with --disable-xft that caused xfreecolors to be called on
colors never allocated, resulting in aborts (reported by Paco-Paco).
focus = 1;
want_refresh = 1;
- HOOK_INVOKE ((this, HOOK_FOCUS_OUT, DT_END));
+ HOOK_INVOKE ((this, HOOK_FOCUS_IN, DT_END));
#if USE_XIM
if (Input_Context != NULL)
$self->configure;
$self->copy_properties;
- $tab->focus_in;
+
+ $tab->focus_out; # just in case, should be a nop
+ $tab->focus_in if $self->focus;
+
$tab->XMapWindow ($tab->parent);
delete $tab->{activity};
$self->refresh;