i3
Functions | Variables
render.c File Reference
#include "all.h"
Include dependency graph for render.c:

Go to the source code of this file.

Functions

static void render_l_output (Con *con)
 
void render_con (Con *con, bool render_fullscreen)
 "Renders" the given container (and its children), meaning that all rects are updated correctly. More...
 

Variables

static bool show_debug_borders = false
 

Function Documentation

void render_con ( Con con,
bool  render_fullscreen 
)

"Renders" the given container (and its children), meaning that all rects are updated correctly.

Note that this function does not call any xcb_* functions, so the changes are completely done in memory only (and side-effect free). As soon as you call x_push_changes(), the changes will be updated in X11.

Definition at line 107 of file render.c.

References Con::base_height, Con::base_width, Con::border_style, Con::border_width, BS_1PIXEL, BS_NONE, BS_NORMAL, con_border_style_rect(), con_get_fullscreen_con(), con_inside_floating(), con_is_leaf(), con_num_children(), config, Con::deco_rect, DLOG, focused, Config::font, Con::geometry, Font::height, Rect::height, Con::height_increment, HORIZ, Con::layout, Con::mapped, Con::name, Con::orientation, output_get_content(), Con::percent, Con::proportional_height, Con::proportional_width, Con::rect, rect_add(), render_con(), render_l_output(), show_debug_borders, TAILQ_EMPTY, TAILQ_FIRST, TAILQ_FOREACH, TAILQ_FOREACH_REVERSE, Con::type, Rect::width, Con::width_increment, Con::window, Con::window_rect, Rect::x, x, x_raise_con(), Rect::y, and y.

Referenced by DRAGGING_CB(), floating_enable(), render_con(), render_l_output(), and tree_render().

Here is the call graph for this function:

static void render_l_output ( Con con)
static

Definition at line 22 of file render.c.

References con_get_fullscreen_con(), Con::deco_rect, DLOG, Con::geometry, Rect::height, height, Con::rect, render_con(), TAILQ_FOREACH, Con::type, Rect::width, Rect::x, x, x_raise_con(), Rect::y, and y.

Referenced by render_con().

Here is the call graph for this function:

Variable Documentation

bool show_debug_borders = false
static

Definition at line 15 of file render.c.

Referenced by render_con().