all repos — openbox @ 0090ec430ae66abb068ba9e48f3ea1690b05e52d

openbox fork - make it a bit more like ryudo

missing sys/time.h
Dana Jansens danakj@orodu.net
commit

0090ec430ae66abb068ba9e48f3ea1690b05e52d

parent

5f1259fd7f21021347ba8a84163bc40ed09ef4ba

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M tools/kdetrayproxy/kdetrayproxy.ctools/kdetrayproxy/kdetrayproxy.c

@@ -5,6 +5,7 @@ #include <stdlib.h>

#include <string.h> #include <sys/select.h> #include <unistd.h> +#include <sys/time.h> typedef struct IList { Window win;

@@ -180,7 +181,8 @@ if (n) {

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); }