… | |
… | |
39 | expand => 1, |
39 | expand => 1, |
40 | tooltip => $self->{entry_tooltip}, |
40 | tooltip => $self->{entry_tooltip}, |
41 | on_focus_in => sub { |
41 | on_focus_in => sub { |
42 | my ($input, $prev_focus) = @_; |
42 | my ($input, $prev_focus) = @_; |
43 | |
43 | |
|
|
44 | $::MESSAGE_WINDOW->set_visibility (1); |
44 | delete $input->{refocus_map}; |
45 | delete $input->{refocus_map}; |
45 | |
46 | |
46 | if ($prev_focus == $::MAPWIDGET && $input->{auto_activated}) { |
47 | if ($prev_focus == $::MAPWIDGET && $input->{auto_activated}) { |
47 | $input->{refocus_map} = 1; |
48 | $input->{refocus_map} = 1; |
48 | } |
49 | } |
… | |
… | |
129 | sub message { |
130 | sub message { |
130 | my ($self, $para) = @_; |
131 | my ($self, $para) = @_; |
131 | |
132 | |
132 | if ($self->is_docked && !$self->is_docked_active) { |
133 | if ($self->is_docked && !$self->is_docked_active) { |
133 | if (($para->{color_flags} & NDI_COLOR_MASK) == NDI_RED) { |
134 | if (($para->{color_flags} & NDI_COLOR_MASK) == NDI_RED) { |
134 | $self->set_inactive_fg ([0, 0, 1]); |
135 | $self->set_inactive_fg ([1, 0, 0]); |
135 | } else { |
136 | } else { |
136 | $self->set_inactive_fg ([0.6, 0.6, 1]); |
137 | $self->set_inactive_fg ([0.6, 0.6, 1]); |
137 | } |
138 | } |
138 | } |
139 | } |
139 | |
140 | |