i3
Functions
output.h File Reference
#include <config.h>
Include dependency graph for output.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Conoutput_get_content (Con *output)
 Returns the output container below the given output container. More...
 
Outputget_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. More...
 
char * output_primary_name (Output *output)
 Retrieves the primary name of an output. More...
 
Outputget_output_for_con (Con *con)
 Returns the output for the given con. More...
 
void output_push_sticky_windows (Con *to_focus)
 Iterates over all outputs and pushes sticky windows to the currently visible workspace on that output. More...
 

Function Documentation

◆ get_output_for_con()

Output* get_output_for_con ( Con con)

Returns the output for the given con.

Definition at line 55 of file output.c.

References con_get_output(), ELOG, get_output_by_name(), and Con::name.

Referenced by cmd_focus_output(), cmd_move_con_to_output(), get_output_from_string(), move_to_output_directed(), and workspace_move_to_output().

Here is the call graph for this function:

◆ get_output_from_string()

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 at line 31 of file output.c.

References D_DOWN, D_LEFT, D_RIGHT, D_UP, focused, get_output_by_name(), get_output_for_con(), and get_output_next_wrap().

Referenced by cmd_focus_output(), cmd_move_con_to_output(), and workspace_move_to_output().

Here is the call graph for this function:

◆ output_get_content()

Con* output_get_content ( Con output)

◆ output_primary_name()

char* output_primary_name ( Output output)

◆ output_push_sticky_windows()

void output_push_sticky_windows ( Con to_focus)

Iterates over all outputs and pushes sticky windows to the currently visible workspace on that output.

Definition at line 76 of file output.c.

References con_is_sticky(), con_move_to_workspace(), croot, Con::focus_head, focused, GREP_FIRST, output_get_content(), Con::parent, TAILQ_END, TAILQ_FIRST, TAILQ_FOREACH, TAILQ_NEXT, Con::type, and workspace_is_visible().

Referenced by _workspace_show(), cmd_sticky(), handle_client_message(), and manage_window().

Here is the call graph for this function: