2 #define I3__FILE__ "output.c"
22 if (child->
type == CT_CON)
36 if (strcasecmp(output_str,
"left") == 0)
38 else if (strcasecmp(output_str,
"right") == 0)
40 else if (strcasecmp(output_str,
"up") == 0)
42 else if (strcasecmp(output_str,
"down") == 0)
Output * get_output_by_name(const char *name)
Returns the output with the given name if it is active (!) or NULL.
Output * get_output_from_string(Output *current_output, const char *output_str)
Returns an 'output' corresponding to one of left/right/down/up or a specific output name...
An Output is a physical output on your graphics driver.
Output * get_output_next_wrap(direction_t direction, Output *current)
Like get_output_next with close_far == CLOSEST_OUTPUT, but wraps.
A 'Con' represents everything from the X11 root window down to a single X11 window.
Con * output_get_content(Con *output)
Returns the output container below the given output container.
#define TAILQ_FOREACH(var, head, field)