i3bar: send XEMBED_EMBEDDED_NOTIFY after reparenting/mapping tray clients
This commit is contained in:
@ -18,6 +18,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 */
|
||||
int xe_version; /* The XEMBED version supported by the client */
|
||||
|
||||
TAILQ_ENTRY(trayclient) tailq; /* Pointer for the TAILQ-Macro */
|
||||
};
|
||||
|
@ -16,6 +16,7 @@
|
||||
#define SYSTEM_TRAY_BEGIN_MESSAGE 1
|
||||
#define SYSTEM_TRAY_CANCEL_MESSAGE 2
|
||||
#define XEMBED_MAPPED (1 << 0)
|
||||
#define XEMBED_EMBEDDED_NOTIFY 0
|
||||
|
||||
struct xcb_color_strings_t {
|
||||
char *bar_fg;
|
||||
|
@ -9,4 +9,5 @@ ATOM_DO(_NET_SYSTEM_TRAY_VISUAL)
|
||||
ATOM_DO(CARDINAL)
|
||||
ATOM_DO(_NET_SYSTEM_TRAY_OPCODE)
|
||||
ATOM_DO(_XEMBED_INFO)
|
||||
ATOM_DO(_XEMBED)
|
||||
#undef ATOM_DO
|
||||
|
Reference in New Issue
Block a user