diff options
author | Timothy Pearson <[email protected]> | 2013-05-24 12:40:44 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-05-24 12:40:44 -0500 |
commit | 013eed4fdc2587ac7752777484de3c8bd9c170e1 (patch) | |
tree | d693925e9eff1655c223f3e55883bceaddb3c331 | |
parent | a0c7e1d3b79cd663f423be75184c2d54e2041239 (diff) | |
download | tdebase-013eed4fdc2587ac7752777484de3c8bd9c170e1.tar.gz tdebase-013eed4fdc2587ac7752777484de3c8bd9c170e1.zip |
Fix themed greeter input failure
-rw-r--r-- | tdm/kfrontend/kgapp.cpp | 5 |
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()) { |