Source

Kephra / lib / Kephra / App / Focus.pm

Diff from to

lib/Kephra/App/Focus.pm

 	my ($widget) = @_;
 	return unless defined $widget;
 	Kephra::Log::note("focus is on :". get()." and will be: $widget");
-	return Kephra::Log::warning( "got no proper widget but $widget", 1 )
-		unless is_widget($widget);
+	return Kephra::Log::warning( "got no proper widget but $widget", 1 ) unless is_widget($widget);
 	return if $widget eq get();
 	unshift @focus_stack, $widget;
 	pop @focus_stack while stack_size() > $max_stack_size;