#include <data.h>
Public Types | |
enum | { CT_ROOT = 0, CT_OUTPUT = 1, CT_CON = 2, CT_FLOATING_CON = 3, CT_WORKSPACE = 4, CT_DOCKAREA = 5 } |
enum | { CF_NONE = 0, CF_OUTPUT = 1, CF_GLOBAL = 2 } |
enum | { L_DEFAULT = 0, L_STACKED = 1, L_TABBED = 2, L_DOCKAREA = 3, L_OUTPUT = 4 } |
enum | { FLOATING_AUTO_OFF = 0, FLOATING_USER_OFF = 1, FLOATING_AUTO_ON = 2, FLOATING_USER_ON = 3 } |
floating? (= not in tiling layout) This cannot be simply a bool because we want to keep track of whether the status was set by the application (by setting _NET_WM_WINDOW_TYPE appropriately) or by the user. More... | |
Public Member Functions | |
TAILQ_HEAD (floating_head, Con) floating_head | |
TAILQ_HEAD (nodes_head, Con) nodes_head | |
TAILQ_HEAD (focus_head, Con) focus_head | |
TAILQ_HEAD (swallow_head, Match) swallow_head | |
TAILQ_ENTRY (Con) nodes | |
TAILQ_ENTRY (Con) focused | |
TAILQ_ENTRY (Con) all_cons | |
TAILQ_ENTRY (Con) floating_windows | |
Data Fields | |
bool | mapped |
enum Con:: { ... } | type |
orientation_t | orientation |
struct Con * | parent |
struct Rect | rect |
struct Rect | window_rect |
struct Rect | deco_rect |
struct Rect | geometry |
the geometry this window requested when getting mapped | |
char * | name |
int | num |
the workspace number, if this Con is of type CT_WORKSPACE and the workspace is not a named workspace (for named workspaces, num == -1) | |
char * | sticky_group |
char * | mark |
double | percent |
int | proportional_width |
int | proportional_height |
int | base_width |
int | base_height |
int | border_width |
int | width_increment |
int | height_increment |
struct Window * | window |
bool | urgent |
xcb_window_t | frame |
xcb_pixmap_t | pixmap |
xcb_gcontext_t | pm_gc |
bool | pixmap_recreated |
struct deco_render_params * | deco_render_params |
Cache for the decoration rendering. | |
enum Con:: { ... } | fullscreen_mode |
enum Con:: { ... } | layout |
border_style_t | border_style |
enum Con:: { ... } | floating |
floating? (= not in tiling layout) This cannot be simply a bool because we want to keep track of whether the status was set by the application (by setting _NET_WM_WINDOW_TYPE appropriately) or by the user. | |
uint8_t | ignore_unmap |
This counter contains the number of UnmapNotify events for this container (or, more precisely, for its ->frame) which should be ignored. | |
void(* | on_remove_child )(Con *) |
callbacks |
Definition at line 361 of file data.h.
anonymous enum |
anonymous enum |
floating? (= not in tiling layout) This cannot be simply a bool because we want to keep track of whether the status was set by the application (by setting _NET_WM_WINDOW_TYPE appropriately) or by the user.
The user’s choice overwrites automatic mode, of course. The order of the values is important because we check with >= FLOATING_AUTO_ON if a client is floating.
anonymous enum |
Con::TAILQ_ENTRY | ( | Con | ) |
Con::TAILQ_ENTRY | ( | Con | ) |
Con::TAILQ_ENTRY | ( | Con | ) |
Con::TAILQ_ENTRY | ( | Con | ) |
Con::TAILQ_HEAD | ( | swallow_head | , | |
Match | ||||
) |
Con::TAILQ_HEAD | ( | focus_head | , | |
Con | ||||
) |
Con::TAILQ_HEAD | ( | nodes_head | , | |
Con | ||||
) |
Con::TAILQ_HEAD | ( | floating_head | , | |
Con | ||||
) |
int Con::base_height |
Definition at line 403 of file data.h.
Referenced by handle_normal_hints(), and render_con().
int Con::base_width |
Definition at line 402 of file data.h.
Referenced by handle_normal_hints(), and render_con().
Definition at line 437 of file data.h.
Referenced by con_border_style(), handle_configure_request(), json_string(), render_con(), and yyparse().
Definition at line 406 of file data.h.
Referenced by manage_window(), render_con(), and restore_geometry().
struct Rect Con::deco_rect [read] |
Definition at line 376 of file data.h.
Referenced by con_minimum_size(), handle_button_press(), handle_enter_notify(), handle_motion_notify(), render_con(), render_l_output(), x_draw_decoration(), and x_push_node().
struct deco_render_params* Con::deco_render_params [read] |
Cache for the decoration rendering.
Definition at line 425 of file data.h.
Referenced by tree_close(), and x_draw_decoration().
enum { ... } Con::floating |
floating? (= not in tiling layout) This cannot be simply a bool because we want to keep track of whether the status was set by the application (by setting _NET_WM_WINDOW_TYPE appropriately) or by the user.
The user’s choice overwrites automatic mode, of course. The order of the values is important because we check with >= FLOATING_AUTO_ON if a client is floating.
Referenced by con_inside_floating(), con_is_floating(), floating_disable(), and floating_enable().
xcb_window_t Con::frame |
Definition at line 419 of file data.h.
Referenced by con_by_frame_id(), manage_window(), x_con_init(), x_con_kill(), x_deco_recurse(), x_draw_decoration(), x_move_win(), x_push_changes(), x_push_node(), x_push_node_unmaps(), x_raise_con(), x_reinit(), x_reparent_child(), and x_set_name().
enum { ... } Con::fullscreen_mode |
struct Rect Con::geometry [read] |
the geometry this window requested when getting mapped
Definition at line 378 of file data.h.
Referenced by floating_enable(), json_int(), manage_window(), render_con(), and render_l_output().
Definition at line 410 of file data.h.
Referenced by handle_normal_hints(), and render_con().
uint8_t Con::ignore_unmap |
This counter contains the number of UnmapNotify events for this container (or, more precisely, for its ->frame) which should be ignored.
UnmapNotify events need to be ignored when they are caused by i3 itself, for example when reparenting or when unmapping the window on a workspace change.
Definition at line 456 of file data.h.
Referenced by handle_unmap_notify_event(), x_push_node(), and x_push_node_unmaps().
enum { ... } Con::layout |
bool Con::mapped |
Definition at line 362 of file data.h.
Referenced by _is_con_mapped(), mark_unmapped(), render_con(), tree_close(), tree_render(), workspace_reassign_sticky(), x_deco_recurse(), x_push_changes(), x_push_node(), and x_push_node_unmaps().
char* Con::name |
Definition at line 380 of file data.h.
Referenced by con_move_to_workspace(), con_toggle_fullscreen(), floating_maybe_reassign_ws(), floating_raise_con(), handle_enter_notify(), handle_focus_in(), init_ws_for_output(), IPC_HANDLER(), json_string(), manage_window(), output_change_mode(), output_init_con(), randr_query_outputs(), render_con(), route_click(), tree_close(), tree_flatten(), tree_init(), workspace_attach_to(), workspace_get(), workspace_next(), workspace_prev(), workspace_reassign_sticky(), workspace_show(), x_push_changes(), and yyparse().
int Con::num |
the workspace number, if this Con is of type CT_WORKSPACE and the workspace is not a named workspace (for named workspaces, num == -1)
Definition at line 384 of file data.h.
Referenced by con_attach(), init_ws_for_output(), IPC_HANDLER(), json_int(), output_change_mode(), and workspace_get().
void(* Con::on_remove_child)(Con *) |
callbacks
Definition at line 371 of file data.h.
Referenced by con_accepts_window(), con_minimum_size(), con_orientation(), con_set_layout(), floating_enable(), init_ws_for_output(), json_string(), output_change_mode(), output_init_con(), render_con(), tiling_resize_for_border(), tree_flatten(), tree_split(), workspace_get(), and ws_force_orientation().
struct Con* Con::parent [read] |
Definition at line 372 of file data.h.
Referenced by _tree_next(), attach_to_workspace(), con_attach(), con_border_style(), con_detach(), con_focus(), con_get_next(), con_get_output(), con_get_workspace(), con_inside_floating(), con_move_to_workspace(), con_next_focused(), con_parent_with_orientation(), floating_disable(), floating_enable(), floating_raise_con(), handle_configure_request(), handle_enter_notify(), insert_con_into(), json_end_map(), json_start_map(), level_up(), manage_window(), resize_graphical_handler(), route_click(), tiling_resize_for_border(), tree_close(), tree_flatten(), tree_move(), tree_open_con(), tree_split(), workspace_next(), workspace_prev(), workspace_show(), ws_force_orientation(), x_draw_decoration(), x_push_node(), and yyparse().
double Con::percent |
Definition at line 394 of file data.h.
Referenced by attach_to_workspace(), con_fix_percent(), con_move_to_workspace(), floating_disable(), floating_enable(), insert_con_into(), json_double(), render_con(), resize_graphical_handler(), tree_flatten(), tree_split(), and yyparse().
xcb_pixmap_t Con::pixmap |
Definition at line 420 of file data.h.
Referenced by x_con_kill(), x_deco_recurse(), x_draw_decoration(), and x_push_node().
Definition at line 422 of file data.h.
Referenced by x_draw_decoration(), and x_push_node().
xcb_gcontext_t Con::pm_gc |
Definition at line 421 of file data.h.
Referenced by x_con_kill(), x_deco_recurse(), x_draw_decoration(), and x_push_node().
Definition at line 399 of file data.h.
Referenced by handle_normal_hints(), and render_con().
Definition at line 398 of file data.h.
Referenced by handle_normal_hints(), and render_con().
Definition at line 374 of file data.h.
Referenced by con_set_layout(), drag_pointer(), DRAGGING_CB(), ewmh_update_workarea(), fake_absolute_configure_notify(), floating_enable(), floating_maybe_reassign_ws(), floating_mod_on_tiled_client(), floating_resize_window(), handle_configure_request(), handle_normal_hints(), IPC_HANDLER(), json_int(), manage_window(), output_change_mode(), output_init_con(), render_con(), render_l_output(), resize_graphical_handler(), restore_geometry(), tiling_resize(), tree_init(), tree_restore(), workspace_attach_to(), workspace_get(), x_deco_recurse(), x_draw_decoration(), x_push_node(), and yyparse().
char* Con::sticky_group |
Definition at line 389 of file data.h.
Referenced by _get_sticky(), json_string(), and workspace_reassign_sticky().
enum { ... } Con::type |
Referenced by _tree_next(), con_accepts_window(), con_attach(), con_border_style(), con_descend_tiling_focused(), con_detach(), con_get_next(), con_get_output(), con_get_workspace(), con_inside_floating(), con_minimum_size(), con_move_to_workspace(), con_next_focused(), con_on_remove_child(), con_parent_with_orientation(), con_set_layout(), con_toggle_fullscreen(), floating_disable(), floating_enable(), handle_enter_notify(), init_ws_for_output(), insert_con_into(), IPC_HANDLER(), json_int(), level_up(), manage_window(), mark_unmapped(), output_get_content(), output_init_con(), randr_query_outputs(), render_con(), render_l_output(), route_click(), tiling_resize_for_border(), tree_close(), tree_close_con(), tree_flatten(), tree_init(), tree_move(), tree_open_con(), tree_split(), workspace_get(), x_deco_recurse(), x_draw_decoration(), and yyparse().
bool Con::urgent |
Definition at line 416 of file data.h.
Referenced by con_focus(), get_urgency_flag(), handle_hints(), IPC_HANDLER(), workspace_update_urgent_flag(), and x_draw_decoration().
Definition at line 409 of file data.h.
Referenced by handle_normal_hints(), and render_con().
struct Window* Con::window [read] |
Definition at line 412 of file data.h.
Referenced by _get_sticky(), con_accepts_window(), con_attach(), con_by_window_id(), con_toggle_fullscreen(), fake_absolute_configure_notify(), floating_enable(), handle_clientleader_change(), handle_focus_in(), handle_hints(), handle_normal_hints(), handle_transient_for(), handle_windowname_change(), handle_windowname_change_legacy(), manage_window(), randr_query_outputs(), render_con(), restore_geometry(), tree_close(), tree_flatten(), workspace_reassign_sticky(), x_draw_decoration(), x_push_changes(), x_push_node(), x_push_node_unmaps(), and yyparse().
struct Rect Con::window_rect [read] |
Definition at line 375 of file data.h.
Referenced by fake_absolute_configure_notify(), json_int(), render_con(), restore_geometry(), tiling_resize(), x_draw_decoration(), and x_push_node().