2011-08-15 09:57:52 -04:00
|
|
|
/*
|
2011-10-25 16:19:38 -04:00
|
|
|
* vim:ts=4:sw=4:expandtab
|
2011-08-15 09:57:52 -04:00
|
|
|
*
|
2011-10-25 16:19:38 -04:00
|
|
|
* i3bar - an xcb-based status- and ws-bar for i3
|
|
|
|
* © 2010-2011 Axel Wagner and contributors (see also: LICENSE)
|
2011-08-15 09:57:52 -04:00
|
|
|
*
|
|
|
|
*/
|
2013-12-28 21:11:50 -05:00
|
|
|
#pragma once
|
2011-08-15 09:57:52 -04:00
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
typedef struct trayclient trayclient;
|
|
|
|
|
|
|
|
TAILQ_HEAD(tc_head, trayclient);
|
|
|
|
|
|
|
|
struct trayclient {
|
2014-06-19 05:20:32 -04:00
|
|
|
xcb_window_t win; /* The window ID of the tray client */
|
|
|
|
bool mapped; /* Whether this window is mapped */
|
|
|
|
int xe_version; /* The XEMBED version supported by the client */
|
2011-08-15 09:57:52 -04:00
|
|
|
|
2014-06-19 05:20:32 -04:00
|
|
|
TAILQ_ENTRY(trayclient) tailq; /* Pointer for the TAILQ-Macro */
|
2011-08-15 09:57:52 -04:00
|
|
|
};
|