i3
output.h
Go to the documentation of this file.
1/*
2 * vim:ts=4:sw=4:expandtab
3 *
4 * i3 - an improved 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
18Con *output_get_content(Con *output);
19
25Output *get_output_from_string(Output *current_output, const char *output_str);
26
31char *output_primary_name(Output *output);
32
40
53void 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
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:83
char * output_primary_name(Output *output)
Retrieves the primary name of an output.
Definition output.c:53
Output * get_output_for_con(Con *con)
Retrieves the output for a given container.
Definition output.c:63
Con * output_get_content(Con *output)
Returns the output container below the given output container.
Definition output.c:16
An Output is a physical output on your graphics driver.
Definition data.h:391
A 'Con' represents everything from the X11 root window down to a single X11 window.
Definition data.h:643