diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-19 17:19:19 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 03:26:43 +0200 |
commit | 5ec582975948160bcb42efc3f0bb23ccda47be99 (patch) | |
tree | 7b721d8079abd57c2521ecd7b52d483ccc64294d /kwin | |
parent | c78746a4256b4bdac9b90abbdffcc25999ad66d7 (diff) | |
download | tdebase-5ec582975948160bcb42efc3f0bb23ccda47be99.tar.gz tdebase-5ec582975948160bcb42efc3f0bb23ccda47be99.zip |
Add keyboard hotplug (add/remove) support to tsak
This closes Bug 587
Fix warning in kompmgr
(cherry picked from commit 5f413b26ebaab8a6478427e4125bda628058ff85)
Diffstat (limited to 'kwin')
-rw-r--r-- | kwin/kompmgr/kompmgr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kwin/kompmgr/kompmgr.c b/kwin/kompmgr/kompmgr.c index 5daf8c217..82166766e 100644 --- a/kwin/kompmgr/kompmgr.c +++ b/kwin/kompmgr/kompmgr.c @@ -60,6 +60,7 @@ check baghira.sf.net for more infos #include <signal.h> #include <time.h> #include <unistd.h> +#include <libgen.h> #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/Xatom.h> @@ -397,7 +398,7 @@ void delete_pid_file() int chars = readlink("/proc/self/exe", me, sizeof(me)); me[chars] = 0; me[2047] = 0; - execl(me, NULL); + execl(me, basename(me), (char*)NULL); } #endif } |