diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-03-02 20:25:24 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-03-04 19:57:09 +0100 |
commit | 336287ff55f0c1ff3d08c1e244314c098e0aad81 (patch) | |
tree | 1ff5f9a7263c338f7483ac919da4899f7df99b17 /kwin | |
parent | 67bcc91c634ae177757e1d38a79db2886b0fd765 (diff) | |
download | tdebase-336287ff55f0c1ff3d08c1e244314c098e0aad81.tar.gz tdebase-336287ff55f0c1ff3d08c1e244314c098e0aad81.zip |
Fix when kompmgr printf message is displayed.
(cherry picked from commit febcc86370a1ae7eb1c1c42df9731b02d72b7964)
Diffstat (limited to 'kwin')
-rw-r--r-- | kwin/workspace.cpp | 6 |
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); |