X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Foutput.h;h=8299a19bc1ddefd6fb7f37cec5f3bfbd4635e499;hb=018a47ceef4632b5f103fdbd8a08d62e96ef854b;hp=d488ad30c4baef8b67c7654bd4da0ddccffead3b;hpb=0adbffb38621192c416ac52aa6b82ac57fb6394d;p=i3%2Fi3 diff --git a/include/output.h b/include/output.h index d488ad30..8299a19b 100644 --- a/include/output.h +++ b/include/output.h @@ -2,13 +2,12 @@ * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager - * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE) + * © 2009 Michael Stapelberg and contributors (see also: LICENSE) * * output.c: Output (monitor) related functions. * */ -#ifndef _OUTPUT_H -#define _OUTPUT_H +#pragma once /** * Returns the output container below the given output container. @@ -16,4 +15,16 @@ */ 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); + +/** + * Iterates over all outputs and pushes sticky windows to the currently visible + * workspace on that output. + * + */ +void output_push_sticky_windows(Con *to_focus);