From cf9c00370ebb3e431a4c4e42925cbba731467257 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 26 Nov 2022 21:58:34 +0000 Subject: Call mygtk3::flush() more frequently whilst copying the filesystem. This makes the main window more responsive to window events. --- NEWS | 2 ++ draklive-install | 2 ++ 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 8f90141..beabe8b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- call mygtk3::flush() more frequently whilst copying the filesystem, + to make the main window more responsive to window events - use run_program::get_stdout to calculate installed size, to allow us to respond to check-alive pings whilst waiting - install callback routine to handle window events whilst waiting diff --git a/draklive-install b/draklive-install index 6b9d786..35afff3 100755 --- a/draklive-install +++ b/draklive-install @@ -330,6 +330,8 @@ sub copy_root { if ($current <= $total && $current/$total > $previous/$total + 0.001) { $update_progress->('', $current, $total); $previous = $current; + } else { + mygtk3::flush(); } } } -- cgit v1.2.1