Fix when kompmgr printf message is displayed.

(cherry picked from commit febcc86370)
v3.5.13-sru
Darrell Anderson 11 years ago committed by Slávek Banko
parent 67bcc91c63
commit 336287ff55

@ -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);

Loading…
Cancel
Save