X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Foutput.h;h=6514c477fc7f5ca01b5e9e6daec629eb2877743d;hb=d91bf5d4918808ec4310411a08b08eead1e8c4f3;hp=e87da22e063b1314bffebb349b6764a079006013;hpb=2bf7793d4d241efca25c452b5c8a5897b2a29da3;p=i3%2Fi3 diff --git a/include/output.h b/include/output.h index e87da22e..6514c477 100644 --- a/include/output.h +++ b/include/output.h @@ -7,8 +7,7 @@ * output.c: Output (monitor) related functions. * */ -#ifndef I3_OUTPUT_H -#define I3_OUTPUT_H +#pragma once /** * Returns the output container below the given output container. @@ -16,4 +15,9 @@ */ Con *output_get_content(Con *output); -#endif +/** + * Returns an 'output' corresponding to one of left/right/down/up or a specific + * output name. + * + */ +Output *get_output_from_string(Output *current_output, const char *output_str);