summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center
index 49847e7f..32ddbd6e 100755
--- a/control-center
+++ b/control-center
@@ -656,6 +656,7 @@ sub compute_exec_string {
create_hidden_socket_if_needed();
$emb_box->show;
$emb_socket->realize;
+ $pending_app = 1;
if ($gtkplug > 0) {
$exec .= " --embedded " . $emb_socket->window->XWINDOW . " " . $$;
$emb_wait->show;
@@ -665,7 +666,6 @@ sub compute_exec_string {
$run_counter_add = -10;
$timeout = Gtk2->timeout_add(70, sub { $run_darea->queue_draw; 1 });
$left_locked = 1;
- $pending_app = 1;
fork_($exec);
} else { # gtkplug == 0
$emb_socket->show;