i3bar: Correctly handle removal of tray clients

This commit is contained in:
Michael Stapelberg
2011-08-15 15:57:52 +02:00
parent 6efa7a754d
commit 2046e4112f
5 changed files with 84 additions and 8 deletions

View File

@ -46,9 +46,8 @@ struct i3_output {
xcb_pixmap_t buffer; /* An extra pixmap for double-buffering */
xcb_gcontext_t bargc; /* The graphical context of the bar */
int traypx; /* Amount of pixels reserved for tray icons */
struct ws_head *workspaces; /* The workspaces on this output */
struct tc_head *trayclients; /* The tray clients on this output */
SLIST_ENTRY(i3_output) slist; /* Pointer for the SLIST-Macro */
};