diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-05-24 12:40:44 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-05-29 19:31:32 +0200 |
commit | 742b626e07d7d8b4f56b7d2ea8cba824c7474caf (patch) | |
tree | 959a756039fa43ed04142cc2fd48670c0d196841 | |
parent | 98f7b5a2b6713b920e6753d00764f00319b35fde (diff) | |
download | tdebase-742b626e07d7d8b4f56b7d2ea8cba824c7474caf.tar.gz tdebase-742b626e07d7d8b4f56b7d2ea8cba824c7474caf.zip |
Fix themed greeter input failure
(cherry picked from commit 013eed4fdc2587ac7752777484de3c8bd9c170e1)
-rw-r--r-- | kdm/kfrontend/kgapp.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kdm/kfrontend/kgapp.cpp b/kdm/kfrontend/kgapp.cpp index e62459cd4..72248440d 100644 --- a/kdm/kfrontend/kgapp.cpp +++ b/kdm/kfrontend/kgapp.cpp @@ -394,7 +394,10 @@ kg_main( const char *argv0 ) KThemedGreeter *tgrt; bool has_kwin_bkp = has_kwin; is_themed = true; - has_kwin = 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_kwin) { + has_kwin = 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. + kwin->kill(SIGKILL); + } dialog = tgrt = new KThemedGreeter; kdDebug() << timestamp() << " themed" << endl; if (!tgrt->isOK()) { |