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.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index c6736fcf5..a672c2421 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -134,6 +134,12 @@ sub sync {
flush();
}
sub flush { gtkflush() }
+sub exit {
+ gtkset_mousecursor_normal(); #- for restoring a normal in any case
+ flush();
+ $::isEmbedded and kill USR1, $::CCPID;
+ c::_exit($_[1]) #- workaround
+}
#-###############################################################################
#- createXXX functions