summaryrefslogtreecommitdiffstats
path: root/kwin
diff options
context:
space:
mode:
Diffstat (limited to 'kwin')
-rw-r--r--kwin/kompmgr/kompmgr.c1
-rw-r--r--kwin/workspace.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/kwin/kompmgr/kompmgr.c b/kwin/kompmgr/kompmgr.c
index b1c5b841d..870cf1b47 100644
--- a/kwin/kompmgr/kompmgr.c
+++ b/kwin/kompmgr/kompmgr.c
@@ -385,6 +385,7 @@ void delete_pid_file()
#if WORK_AROUND_FGLRX
if (my_exit_code == 3) {
+ printf("kompmgr lost connection to X server, restarting...\n\r"); fflush(stdout);
sleep(1);
char me[2048];
readlink("/proc/self/exe", me, sizeof(me));
diff --git a/kwin/workspace.cpp b/kwin/workspace.cpp
index 77e22af6f..66b8780ec 100644
--- a/kwin/workspace.cpp
+++ b/kwin/workspace.cpp
@@ -2739,7 +2739,7 @@ void Workspace::stopKompmgr()
}
delete kompmgr_selection;
kompmgr_selection = NULL;
- kompmgr->disconnect(this, TQT_SLOT(restartKompmgr()));
+ kompmgr->disconnect(this, TQT_SLOT(restartKompmgr(KProcess*)));
options->useTranslucency = FALSE;
if (popup){ delete popup; popup = 0L; } // to add/remove opacity slider
kompmgr->kill();