Codebase list i3-gaps / c08c03d1-3991-4794-b68c-54a2ef0427eb/upstream i3bar / include / trayclients.h
c08c03d1-3991-4794-b68c-54a2ef0427eb/upstream

Tree @c08c03d1-3991-4794-b68c-54a2ef0427eb/upstream (Download .tar.gz)

trayclients.h @c08c03d1-3991-4794-b68c-54a2ef0427eb/upstreamraw · history · blame

/*
 * vim:ts=4:sw=4:expandtab
 *
 * i3bar - an xcb-based status- and ws-bar for i3
 * © 2010 Axel Wagner and contributors (see also: LICENSE)
 *
 */
#pragma once

#include "common.h"

typedef struct trayclient trayclient;

TAILQ_HEAD(tc_head, trayclient);

struct trayclient {
    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 */

    char *class_class;
    char *class_instance;

    TAILQ_ENTRY(trayclient) tailq; /* Pointer for the TAILQ-Macro */
};