* vim:ts=4:sw=4:expandtab
*
* i3bar - an xcb-based status- and ws-bar for i3
- * © 2010-2011 Axel Wagner and contributors (see also: LICENSE)
+ * © 2010-2012 Axel Wagner and contributors (see also: LICENSE)
*
* xcb.c: Communicating with X
*
char *bar_bg;
char *active_ws_fg;
char *active_ws_bg;
+ char *active_ws_border;
char *inactive_ws_fg;
char *inactive_ws_bg;
+ char *inactive_ws_border;
char *focus_ws_bg;
char *focus_ws_fg;
+ char *focus_ws_border;
char *urgent_ws_bg;
char *urgent_ws_fg;
+ char *urgent_ws_border;
};
typedef struct xcb_colors_t xcb_colors_t;
* Called once, before the program terminates.
*
*/
-void clean_xcb();
+void clean_xcb(void);
/*
* Get the earlier requested atoms and save them in the prepared data-structure
*
*/
-void get_atoms();
+void get_atoms(void);
+
+/*
+ * Reparents all tray clients of the specified output to the root window. This
+ * is either used when shutting down, when an output appears (xrandr --output
+ * VGA1 --off) or when the primary output changes.
+ *
+ * Applications using the tray will start the protocol from the beginning again
+ * afterwards.
+ *
+ */
+void kick_tray_clients(i3_output *output);
/*
* Destroy the bar of the specified output
* Reallocate the statusline-buffer
*
*/
-void realloc_sl_buffer();
+void realloc_sl_buffer(void);
/*
* Reconfigure all bars and create new for newly activated outputs
*
*/
-void reconfig_windows();
+void reconfig_windows(void);
/*
* Render the bars, with buttons and statusline
*
*/
-void draw_bars();
+void draw_bars(void);
/*
* Redraw the bars, i.e. simply copy the buffer to the barwindow
*
*/
-void redraw_bars();
+void redraw_bars(void);
#endif