summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xdrakconsole2
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a4f12d7d..ccfec90c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- drakconsole
+ o fix not having the focus on startup (#48091)
+
Version 12.10.1 - 17 April 2009, Thierry Vignaud
- install task-printing-server task-printing-hp too when
diff --git a/drakconsole b/drakconsole
index 6d5bf767..46d66ee0 100755
--- a/drakconsole
+++ b/drakconsole
@@ -34,6 +34,8 @@ $w->{rwindow}->add(gtkpack_(Gtk2::VBox->new(0, 0),
),
);
$w->{rwindow}->show_all;
+
+$vte->grab_focus();
#$ENV{PS1} = qq(Type "exit"\n);
$vte->fork_command($ENV{SHELL}, [ $ENV{SHELL} ], [ map { "$_=$ENV{$_}" } keys %ENV ], $ENV{PWD}, 0, 0, 0);