i3
output.h
Go to the documentation of this file.
1 /*
2  * vim:ts=4:sw=4:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
6  *
7  * output.c: Output (monitor) related functions.
8  *
9  */
10 #pragma once
11 
12 #include <config.h>
13 
18 Con *output_get_content(Con *output);
19 
25 Output *get_output_from_string(Output *current_output, const char *output_str);
26 
31 char *output_primary_name(Output *output);
32 
38 
51 void output_push_sticky_windows(Con *old_focus);
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.
Definition: output.c:33
char * output_primary_name(Output *output)
Retrieves the primary name of an output.
Definition: output.c:53
void output_push_sticky_windows(Con *old_focus)
Iterates over all outputs and pushes sticky windows to the currently visible workspace on that output...
Definition: output.c:77
Con * output_get_content(Con *output)
Returns the output container below the given output container.
Definition: output.c:16
Output * get_output_for_con(Con *con)
Returns the output for the given con.
Definition: output.c:57
An Output is a physical output on your graphics driver.
Definition: data.h:361
A 'Con' represents everything from the X11 root window down to a single X11 window.
Definition: data.h:613