summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-08-28 21:46:09 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-08-28 21:46:09 +0000
commit8d3388030e7908f4c99d2b356907a248d75bc80b (patch)
tree40ed8b21df83f2b4baff0c77cd1bfd172ee85893
parent70673065876f0e6c0b53b4c30aec6a2362606215 (diff)
downloadcontrol-center-8d3388030e7908f4c99d2b356907a248d75bc80b.tar
control-center-8d3388030e7908f4c99d2b356907a248d75bc80b.tar.gz
control-center-8d3388030e7908f4c99d2b356907a248d75bc80b.tar.bz2
control-center-8d3388030e7908f4c99d2b356907a248d75bc80b.tar.xz
control-center-8d3388030e7908f4c99d2b356907a248d75bc80b.zip
reembed back rxvt
-rwxr-xr-xcontrol-center8
1 files changed, 5 insertions, 3 deletions
diff --git a/control-center b/control-center
index 6bc7e403..0b401834 100755
--- a/control-center
+++ b/control-center
@@ -106,8 +106,8 @@ my $exec_hash =
"Connection Sharing" => [ "drakgw", "$sbindir/drakgw", 1, N("DrakGw helps you share your Internet connection") ],
"Connection" => [ "drakconnect", "$sbindir/drakconnect", 1, N("DrakConnect helps you set up your network and Internet connection") ],
# little workaround to avoid drakconf freeze
- "Console" => [ "rxvt", "$xbindir/rxvt", -1, N("Open a console") ], #The Console will help you to solve issues
- # "Console" => [ "rxvt", [ "$xbindir/rxvt", "rxvt", 1 ], 0, N("Open a console") ], #The Console will help you to solve issues
+# "Console" => [ "rxvt", "$xbindir/rxvt", -1, N("Open a console") ], #The Console will help you to solve issues
+ "Console" => [ "rxvt", [ "$xbindir/rxvt", "rxvt", 1 ], 0, N("Open a console") ], #The Console will help you to solve issues
"Date & Time" => [ "clock", "$sbindir/clock.pl", 1, N("Set date and time") ],
"Display Manager chooser" => [ "drakedm", "$sbindir/drakedm", 1, N("Choose the display manager") ],
"Firewall" => [ "drakfirewall", "$sbindir/drakfirewall", 1, N("DrakFirewall helps you set up a personal firewall") ],
@@ -662,6 +662,9 @@ sub create_hidden_socket_if_needed() {
$left_locked = 0;
$emb_wait->hide;
$emb_socket->show if $emb_socket;
+ $emb_socket->can_focus(1);
+ $emb_socket->grab_focus;
+ $emb_socket->window->XSetInputFocus;
});
}
@@ -749,7 +752,6 @@ sub compute_exec_string {
$exec_->[0] = $exec;
$SIG{CHLD} = undef;
$emb_socket->add_id(launch_xapp(@$exec_));
- $emb_socket->grab_focus;
$SIG{CHLD} = \&sig_child;
}
} else { # not embedded