summaryrefslogtreecommitdiff
path: root/community/icewm-utils/icets-fix-icewmtray-crash.diff
blob: 3a3b62bcc557fe57f4536050e287fb3146e3f76c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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() */
 
 /**