systray: Separate reparenting from embedding

This commit is contained in:
o9000
2015-07-16 20:20:23 +02:00
parent 9933399dc4
commit c606a1a35a
3 changed files with 69 additions and 2 deletions

View File

@@ -50,6 +50,7 @@ typedef struct
struct timespec time_last_render;
int num_fast_renders;
int reparented;
int embedded;
char *name;
} TrayWindow;
@@ -85,6 +86,8 @@ void stop_net();
void net_message(XClientMessageEvent *e);
gboolean add_icon(Window id);
gboolean reparent_icon(TrayWindow *traywin);
gboolean embed_icon(TrayWindow *traywin);
void remove_icon(TrayWindow *traywin);
void refresh_systray_icons();