Codebase list i3-gaps / 93d29c39-f9ec-4785-a2d5-eb670a71f546/upstream i3bar / include / trayclients.h
93d29c39-f9ec-4785-a2d5-eb670a71f546/upstream

Tree @93d29c39-f9ec-4785-a2d5-eb670a71f546/upstream (Download .tar.gz)

trayclients.h @93d29c39-f9ec-4785-a2d5-eb670a71f546/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 */
};