projects
/
dana
/
openbox-history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f1259f
)
missing sys/time.h
author
Dana Jansens
<danakj@orodu.net>
Sat, 2 Aug 2003 15:31:09 +0000
(15:31 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 2 Aug 2003 15:31:09 +0000
(15:31 +0000)
tools/kdetrayproxy/kdetrayproxy.c
patch
|
blob
|
history
diff --git
a/tools/kdetrayproxy/kdetrayproxy.c
b/tools/kdetrayproxy/kdetrayproxy.c
index
31a4d97
..
13d9952
100644
(file)
--- a/
tools/kdetrayproxy/kdetrayproxy.c
+++ b/
tools/kdetrayproxy/kdetrayproxy.c
@@
-5,6
+5,7
@@
#include <string.h>
#include <sys/select.h>
#include <unistd.h>
+#include <sys/time.h>
typedef struct IList {
Window win;
@@
-180,7
+181,8
@@
void updatehint()
wins = malloc(sizeof(int) * n);
for (it = list, i = 0; it; it = it->next, ++i)
wins[i] = it->win;
- }
+ } else
+ wins = NULL;
XChangeProperty(display, root, roothint, XA_WINDOW, 32, PropModeReplace,
(unsigned char*) wins, n);
}