This commit is contained in:
Duncan Ferguson 2017-12-24 12:26:23 +00:00
parent c50b6fff14
commit 1c03f947bf

View file

@ -878,7 +878,8 @@ sub show_console() {
$windows{main_window}->update();
select( undef, undef, undef, 0.2 ); #sleep for a mo
$windows{main_window}->withdraw if $windows{main_window}->state ne "withdrawn";
$windows{main_window}->withdraw
if $windows{main_window}->state ne "withdrawn";
# Sleep for a moment to give WM time to bring console back
select( undef, undef, undef, 0.5 );