]> git.sur5r.net Git - i3/i3/blob - i3bar/include/trayclients.h
i3bar: Correctly handle removal of tray clients
[i3/i3] / i3bar / include / trayclients.h
1 /*
2  * i3bar - an xcb-based status- and ws-bar for i3
3  *
4  * © 2010-2011 Axel Wagner and contributors
5  *
6  * See file LICNSE for license information
7  *
8  */
9 #ifndef TRAYCLIENT_H_
10 #define TRAYCLIENT_H_
11
12 #include "common.h"
13
14 typedef struct trayclient trayclient;
15
16 TAILQ_HEAD(tc_head, trayclient);
17
18 struct trayclient {
19     xcb_window_t       win;         /* The window ID of the tray client */
20
21     TAILQ_ENTRY(trayclient) tailq;  /* Pointer for the TAILQ-Macro */
22 };
23
24 #endif