2011-02-21 01:43:39 +01:00
|
|
|
/*
|
|
|
|
* vim:ts=4:sw=4:expandtab
|
2011-10-25 22:19:38 +02:00
|
|
|
*
|
|
|
|
* i3 - an improved dynamic tiling window manager
|
2015-04-04 02:17:56 +02:00
|
|
|
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
|
2011-10-25 22:19:38 +02:00
|
|
|
*
|
|
|
|
* output.c: Output (monitor) related functions.
|
|
|
|
*
|
2011-02-21 01:43:39 +01:00
|
|
|
*/
|
2013-12-29 03:11:50 +01:00
|
|
|
#pragma once
|
2011-02-21 01:43:39 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the output container below the given output container.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
Con *output_get_content(Con *output);
|
2015-03-04 09:22:25 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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);
|
2015-08-26 21:06:53 +02:00
|
|
|
|
2016-09-30 17:28:02 +02:00
|
|
|
/**
|
|
|
|
* Returns the output for the given con.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
Output *get_output_for_con(Con *con);
|
|
|
|
|
2015-08-26 21:06:53 +02:00
|
|
|
/**
|
|
|
|
* Iterates over all outputs and pushes sticky windows to the currently visible
|
|
|
|
* workspace on that output.
|
|
|
|
*
|
|
|
|
*/
|
2015-09-17 22:52:56 +02:00
|
|
|
void output_push_sticky_windows(Con *to_focus);
|