]> Dogcows Code - chaz/tint2/blob - src/systray/systraybar.h
fixed issue 48
[chaz/tint2] / src / systray / systraybar.h
1 /**************************************************************************
2 * Copyright (C) 2009 thierry lorthiois (lorthiois@bbsoft.fr)
3 *
4 * systraybar
5 * based on 'docker-1.5' from Ben Jansens
6 *
7 **************************************************************************/
8
9 #ifndef SYSTRAYBAR_H
10 #define SYSTRAYBAR_H
11
12 #include <X11/Xlib.h>
13 #include <X11/Xutil.h>
14 #include <X11/Xatom.h>
15 #include "area.h"
16
17
18 typedef struct {
19 // always start with area
20 Area area;
21
22 GSList *list_icons;
23 } Systraybar;
24
25
26 typedef struct
27 {
28 Window id;
29 int x, y;
30 int width, height;
31
32 long *icon_data;
33 } TrayWindow;
34
35
36 extern Window net_sel_win;
37
38
39 void init_systray();
40 void cleanup_systray();
41 int net_init();
42 void net_message(XClientMessageEvent *e);
43
44 // return 1 if task_width changed
45 int resize_systray (Systraybar *sysbar);
46
47
48
49 #endif
50
This page took 0.04224 seconds and 5 git commands to generate.