X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Foutput.h;h=8299a19bc1ddefd6fb7f37cec5f3bfbd4635e499;hb=988cc3ccaf59a0c25d9df47337bb9bd8826f6b31;hp=67652fa102964aa713230ca2f3856b1354be76b5;hpb=22bac9fd9a6b3a2bf12aea124c519e2c9f22f855;p=i3%2Fi3 diff --git a/include/output.h b/include/output.h index 67652fa1..8299a19b 100644 --- a/include/output.h +++ b/include/output.h @@ -1,9 +1,13 @@ /* * vim:ts=4:sw=4:expandtab + * + * i3 - an improved dynamic tiling window manager + * © 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. @@ -11,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);