summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-09-17 15:02:04 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-09-17 15:02:04 +0000
commit4adf1ee98e5a953a0b22490dd861a28c03e73659 (patch)
tree08bbd9ba31024511550f124cacf8065f75de739f
parentbb64d69bdbdc3dc92505171bfce34a929ef15934 (diff)
downloadcontrol-center-4adf1ee98e5a953a0b22490dd861a28c03e73659.tar
control-center-4adf1ee98e5a953a0b22490dd861a28c03e73659.tar.gz
control-center-4adf1ee98e5a953a0b22490dd861a28c03e73659.tar.bz2
control-center-4adf1ee98e5a953a0b22490dd861a28c03e73659.tar.xz
control-center-4adf1ee98e5a953a0b22490dd861a28c03e73659.zip
fix freezed ui while rxvt hasn't complete
-rwxr-xr-xcontrol-center4
1 files changed, 2 insertions, 2 deletions
diff --git a/control-center b/control-center
index b0e857de..6b2531d2 100755
--- a/control-center
+++ b/control-center
@@ -526,7 +526,7 @@ $window_global->set_position(1);
$SIG{USR1} = \&sig_usr1;
$SIG{USR2} = \&sig_usr2;
$SIG{TERM} = \&quit_global;
-$SIG{CHLD} = sub { wait() };
+$SIG{CHLD} = sub { wait };
Gtk->main;
sub sig_usr1 {
@@ -603,7 +603,7 @@ sub compute_exec_string {
$emb_socket->show;
$SIG{CHLD} = undef;
$emb_socket->steal(launch_xapp($alternate));
- $SIG{CHLD} = wait;
+ $SIG{CHLD} = sub { wait };
}
} else { # not embedded
fork_($gtkplug == 0 ? $alternate->[0] : $alternate || $exec);