summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-24 12:40:44 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-24 12:40:44 -0500
commit013eed4fdc2587ac7752777484de3c8bd9c170e1 (patch)
treed693925e9eff1655c223f3e55883bceaddb3c331
parenta0c7e1d3b79cd663f423be75184c2d54e2041239 (diff)
downloadtdebase-013eed4fdc2587ac7752777484de3c8bd9c170e1.tar.gz
tdebase-013eed4fdc2587ac7752777484de3c8bd9c170e1.zip
Fix themed greeter input failure
-rw-r--r--tdm/kfrontend/kgapp.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tdm/kfrontend/kgapp.cpp b/tdm/kfrontend/kgapp.cpp
index f46f82cf5..6cfd230eb 100644
--- a/tdm/kfrontend/kgapp.cpp
+++ b/tdm/kfrontend/kgapp.cpp
@@ -422,7 +422,10 @@ kg_main( const char *argv0 )
KThemedGreeter *tgrt;
bool has_twin_bkp = has_twin;
is_themed = true;
- has_twin = false; // [FIXME] The themed greeter is built on the assumption that there is no window manager available (i.e. it keeps stealing focus) and needs to be repaired.
+ if (has_twin) {
+ has_twin = false; // [FIXME] The themed greeter is built on the assumption that there is no window manager available (i.e. it keeps stealing focus) and needs to be repaired.
+ twin->kill(SIGKILL);
+ }
dialog = tgrt = new KThemedGreeter;
kdDebug() << timestamp() << " themed" << endl;
if (!tgrt->isOK()) {