summaryrefslogtreecommitdiff
path: root/community/icewm-utils/icets-fix-icewmtray-crash.diff
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/icewm-utils/icets-fix-icewmtray-crash.diff
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/icewm-utils/icets-fix-icewmtray-crash.diff')
-rw-r--r--community/icewm-utils/icets-fix-icewmtray-crash.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/icewm-utils/icets-fix-icewmtray-crash.diff b/community/icewm-utils/icets-fix-icewmtray-crash.diff
new file mode 100644
index 000000000..3a3b62bcc
--- /dev/null
+++ b/community/icewm-utils/icets-fix-icewmtray-crash.diff
@@ -0,0 +1,13 @@
+--- ./icets.cpp.orig 2010-03-22 00:42:19.231913625 +1000
++++ ./icets.cpp 2010-03-22 00:43:34.611221044 +1000
+@@ -311,7 +311,9 @@
+ }/* if(bakFile.exists()) */
+
+ //restart IceWM
+- system("pkill -1 icewm");
++ // Use killall instead of pkill, because pkill kills all icewm processes
++ // like icewmtray - in this case we lost view of running tray apps
++ system("killall -1 icewm");
+ }/* setTheme() */
+
+ /**