| 1 |
/* |
| 2 |
* vim:ts=4:sw=4:expandtab |
| 3 |
* |
| 4 |
* i3bar - an xcb-based status- and ws-bar for i3 |
| 5 |
* © 2010 Axel Wagner and contributors (see also: LICENSE) |
| 6 |
* |
| 7 |
*/ |
| 8 |
#pragma once |
| 9 |
|
| 10 |
#include "common.h" |
| 11 |
|
| 12 |
typedef struct trayclient trayclient; |
| 13 |
|
| 14 |
TAILQ_HEAD(tc_head, trayclient); |
| 15 |
|
| 16 |
struct trayclient { |
| 17 |
xcb_window_t win; /* The window ID of the tray client */ |
| 18 |
bool mapped; /* Whether this window is mapped */ |
| 19 |
int xe_version; /* The XEMBED version supported by the client */ |
| 20 |
|
| 21 |
char *class_class; |
| 22 |
char *class_instance; |
| 23 |
|
| 24 |
TAILQ_ENTRY(trayclient) tailq; /* Pointer for the TAILQ-Macro */ |
| 25 |
}; |