summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 4d4fdfc43..0dd9f90f2 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -45,11 +45,12 @@ sub new {
sub main($;$) {
my ($o, $f) = @_;
gtkset_mousecursor_normal();
+ my $idle = Gtk->timeout_add(1000, sub { gtkset_mousecursor_normal() });
$o->show;
do {
local $::setstep = 1;
- Gtk->main
+ Gtk->main;
} while ($o->{retval} && $f && !&$f());
$o->destroy;
$o->{retval}