summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/tools/quicklauncher/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/tools/quicklauncher/main.cpp b/core/tools/quicklauncher/main.cpp
index fb2ca44..286aed2 100644
--- a/core/tools/quicklauncher/main.cpp
+++ b/core/tools/quicklauncher/main.cpp
@@ -45,4 +45,12 @@ using namespace Opie::Core;
#include <sys/types.h>
#include <sys/stat.h>
+
+#ifdef _OS_LINUX_
+#include <sys/prctl.h>
+#ifndef PR_SET_NAME
+#define PR_SET_NAME 15
+#endif
+#endif
+
#include <unistd.h>
@@ -167,4 +175,5 @@ private:
// Change name of process
setproctitle(myargv[0]);
+ prctl( PR_SET_NAME, (unsigned long)myargv[0], 0, 0, 0 );
#endif