From 742b626e07d7d8b4f56b7d2ea8cba824c7474caf Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 24 May 2013 12:40:44 -0500 Subject: [PATCH] Fix themed greeter input failure (cherry picked from commit 013eed4fdc2587ac7752777484de3c8bd9c170e1) --- kdm/kfrontend/kgapp.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()) {