From 4adf1ee98e5a953a0b22490dd861a28c03e73659 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 17 Sep 2002 15:02:04 +0000 Subject: fix freezed ui while rxvt hasn't complete --- control-center | 4 ++-- 1 file 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); -- cgit v1.2.1