i3
|
#include "all.h"
Go to the source code of this file.
Macros | |
#define | I3__FILE__ "render.c" |
Functions | |
int | render_deco_height (void) |
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 |
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 126 of file render.c.
References Con::aspect_ratio, Con::border_style, Con::border_width, BS_NONE, BS_NORMAL, BS_PIXEL, con_border_style_rect(), con_by_window_id(), con_descend_focused(), con_get_fullscreen_con(), con_is_internal(), con_is_leaf(), con_num_children(), con_orientation(), Con::deco_rect, DLOG, focused, Con::geometry, Rect::height, HORIZ, Window::id, L_DOCKAREA, L_OUTPUT, L_SPLITH, L_SPLITV, L_STACKED, L_TABBED, Con::layout, Con::mapped, Con::name, output_get_content(), Con::percent, Con::rect, rect_add(), render_con(), render_deco_height(), render_l_output(), show_debug_borders, TAILQ_EMPTY, TAILQ_FIRST, TAILQ_FOREACH, TAILQ_FOREACH_REVERSE, Window::transient_for, Con::type, Rect::width, Con::window, Con::window_rect, x, Rect::x, x_raise_con(), y, and Rect::y.
Referenced by DRAGGING_CB(), floating_enable(), init_ws_for_output(), manage_window(), render_con(), render_l_output(), and tree_render().
int render_deco_height | ( | void | ) |
Definition at line 22 of file render.c.
References config, Config::font, and Font::height.
Referenced by con_set_border_style(), floating_check_size(), floating_enable(), and render_con().
|
static |
Definition at line 34 of file render.c.
References con_get_fullscreen_con(), Con::deco_rect, DLOG, Con::geometry, height, Rect::height, Con::rect, render_con(), TAILQ_FOREACH, Con::type, Rect::width, x, Rect::x, x_raise_con(), y, and Rect::y.
Referenced by render_con().
|
static |
Definition at line 17 of file render.c.
Referenced by render_con().