X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Foutput.h;h=31084da19772c74e743d7025f79a0ef6afd772cd;hb=725ee3ce6269947577deb7a67a0e1d9762c21600;hp=8299a19bc1ddefd6fb7f37cec5f3bfbd4635e499;hpb=34b8a02a3678cdea5bf04d5c8d0dc9dd27004552;p=i3%2Fi3 diff --git a/include/output.h b/include/output.h index 8299a19b..31084da1 100644 --- a/include/output.h +++ b/include/output.h @@ -9,6 +9,8 @@ */ #pragma once +#include + /** * Returns the output container below the given output container. * @@ -22,6 +24,18 @@ Con *output_get_content(Con *output); */ Output *get_output_from_string(Output *current_output, const char *output_str); +/** + * Retrieves the primary name of an output. + * + */ +char *output_primary_name(Output *output); + +/** + * Returns the output for the given con. + * + */ +Output *get_output_for_con(Con *con); + /** * Iterates over all outputs and pushes sticky windows to the currently visible * workspace on that output.