From 013eed4fdc2587ac7752777484de3c8bd9c170e1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 24 May 2013 12:40:44 -0500 Subject: Fix themed greeter input failure --- tdm/kfrontend/kgapp.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tdm/kfrontend/kgapp.cpp') 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()) { -- cgit v1.2.1