X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=i3bar%2Finclude%2Foutputs.h;h=ad249786d4a805aef37baf943b2b13e04c5fb57a;hb=0aa306890b66047aacb4863df0cfdfd6f46361e6;hp=c6402a5b620b987569769862e2d5b02890bb9cba;hpb=e7d6cd0f1cd9da938d09088bb384e5783c292abd;p=i3%2Fi3 diff --git a/i3bar/include/outputs.h b/i3bar/include/outputs.h index c6402a5b..ad249786 100644 --- a/i3bar/include/outputs.h +++ b/i3bar/include/outputs.h @@ -1,9 +1,10 @@ /* - * i3bar - an xcb-based status- and ws-bar for i3 + * vim:ts=4:sw=4:expandtab * - * © 2010-2011 Axel Wagner and contributors + * i3bar - an xcb-based status- and ws-bar for i3 + * © 2010-2012 Axel Wagner and contributors (see also: LICENSE) * - * See file LICNSE for license information + * outputs.c: Maintaining the output-list * */ #ifndef OUTPUTS_H_ @@ -28,7 +29,7 @@ void parse_outputs_json(char* json); * Initiate the output-list * */ -void init_outputs(); +void init_outputs(void); /* * Returns the output with the given name @@ -39,6 +40,7 @@ i3_output* get_output_by_name(char* name); struct i3_output { char* name; /* Name of the output */ bool active; /* If the output is active */ + bool primary; /* If it is the primary output */ int ws; /* The number of the currently visible ws */ rect rect; /* The rect (relative to the root-win) */