summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kwin/workspace.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/kwin/workspace.cpp b/kwin/workspace.cpp
index 7ace2a570..d358869b8 100644
--- a/kwin/workspace.cpp
+++ b/kwin/workspace.cpp
@@ -242,8 +242,6 @@ Workspace::Workspace( bool restore )
strcat(filename, home);
strcat(filename, configfile);
- printf("[kwin-workspace] reading '%s' as kompmgr pidfile\n\n", filename);
-
// Now that we did all that by way of introduction...read the file!
FILE *pFile;
char buffer[255];
@@ -251,6 +249,7 @@ Workspace::Workspace( bool restore )
int kompmgrpid = 0;
if (pFile)
{
+ printf("[kwin-workspace] Using '%s' as kompmgr pidfile\n\n", filename);
// obtain file size
fseek (pFile , 0 , SEEK_END);
unsigned long lSize = ftell (pFile);
@@ -1094,8 +1093,6 @@ void Workspace::slotReconfigure()
strcat(filename, home);
strcat(filename, configfile);
- printf("[kwin-workspace] reading '%s' as kompmgr pidfile\n\n", filename);
-
// Now that we did all that by way of introduction...read the file!
FILE *pFile;
char buffer[255];
@@ -1103,6 +1100,7 @@ void Workspace::slotReconfigure()
int kompmgrpid = 0;
if (pFile)
{
+ printf("[kwin-workspace] Using '%s' as kompmgr pidfile\n\n", filename);
// obtain file size
fseek (pFile , 0 , SEEK_END);
unsigned long lSize = ftell (pFile);