* Copyright (C) 2009 thierry lorthiois (lorthiois@bbsoft.fr)
*
* systraybar
+* based on 'docker-1.5' from Ben Jansens
*
**************************************************************************/
#ifndef SYSTRAYBAR_H
#define SYSTRAYBAR_H
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+#include <X11/Xatom.h>
#include "area.h"
// always start with area
Area area;
+ GSList *list_icons;
} Systraybar;
typedef struct
{
- Window id;
- int x, y;
+ Window id;
+ int x, y;
+ int width, height;
+
+ long *icon_data;
} TrayWindow;
-void init_systray(Systraybar *sysbar, Area *parent);
+extern Window net_sel_win;
+
+
+void init_systray();
+void cleanup_systray();
+int net_init();
+void net_message(XClientMessageEvent *e);
// return 1 if task_width changed
int resize_systray (Systraybar *sysbar);