Apply console position fix

This commit is contained in:
Duncan Ferguson 2017-12-27 10:22:07 +00:00
parent 3a7e832855
commit 4dcba4d693

View file

@ -749,7 +749,7 @@ sub show_console() {
$windows{main_window}->update();
select( undef, undef, undef, 0.2 ); #sleep for a mo
$windows{main_window}->withdraw;
$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 );