i3bar: Fixup indentions

This commit is contained in:
Axel Wagner
2011-08-12 18:43:09 +02:00
parent 9ccb3987ad
commit 7cb7700b02
4 changed files with 47 additions and 47 deletions

View File

@ -22,33 +22,33 @@ struct outputs_head *outputs;
* Start parsing the received json-string
*
*/
void parse_outputs_json(char* json);
void parse_outputs_json(char* json);
/*
* Initiate the output-list
*
*/
void init_outputs();
void init_outputs();
/*
* Returns the output with the given name
*
*/
i3_output* get_output_by_name(char* name);
i3_output* get_output_by_name(char* name);
struct i3_output {
char* name; /* Name of the output */
bool active; /* If the output is active */
int ws; /* The number of the currently visible ws */
rect rect; /* The rect (relative to the root-win) */
char* name; /* Name of the output */
bool active; /* If the output is active */
int ws; /* The number of the currently visible ws */
rect rect; /* The rect (relative to the root-win) */
xcb_window_t bar; /* The id of the bar of the output */
xcb_pixmap_t buffer; /* An extra pixmap for double-buffering */
xcb_gcontext_t bargc; /* The graphical context of the bar */
xcb_window_t bar; /* The id of the bar of the output */
xcb_pixmap_t buffer; /* An extra pixmap for double-buffering */
xcb_gcontext_t bargc; /* The graphical context of the bar */
struct ws_head *workspaces; /* The workspaces on this output */
struct ws_head *workspaces; /* The workspaces on this output */
SLIST_ENTRY(i3_output) slist; /* Pointer for the SLIST-Macro */
SLIST_ENTRY(i3_output) slist; /* Pointer for the SLIST-Macro */
};
#endif