i3bar: properly handle the _XEMBED_INFO property
This commit is contained in:
@ -9,8 +9,9 @@
|
||||
#ifndef COMMON_H_
|
||||
#define COMMON_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef struct rect_t rect;
|
||||
typedef int bool;
|
||||
|
||||
struct ev_loop* main_loop;
|
||||
char *statusline;
|
||||
|
@ -17,6 +17,7 @@ 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 */
|
||||
|
||||
TAILQ_ENTRY(trayclient) tailq; /* Pointer for the TAILQ-Macro */
|
||||
};
|
||||
|
@ -12,6 +12,11 @@
|
||||
#include <stdint.h>
|
||||
//#include "outputs.h"
|
||||
|
||||
#define SYSTEM_TRAY_REQUEST_DOCK 0
|
||||
#define SYSTEM_TRAY_BEGIN_MESSAGE 1
|
||||
#define SYSTEM_TRAY_CANCEL_MESSAGE 2
|
||||
#define XEMBED_MAPPED (1 << 0)
|
||||
|
||||
struct xcb_color_strings_t {
|
||||
char *bar_fg;
|
||||
char *bar_bg;
|
||||
|
@ -8,4 +8,5 @@ ATOM_DO(_NET_SYSTEM_TRAY_ORIENTATION)
|
||||
ATOM_DO(_NET_SYSTEM_TRAY_VISUAL)
|
||||
ATOM_DO(CARDINAL)
|
||||
ATOM_DO(_NET_SYSTEM_TRAY_OPCODE)
|
||||
ATOM_DO(_XEMBED_INFO)
|
||||
#undef ATOM_DO
|
||||
|
Reference in New Issue
Block a user