|
i3
|
#include "libi3.h"#include <libsn/sn-launcher.h>#include <xcb/randr.h>#include <stdbool.h>#include <pcre.h>#include <sys/time.h>#include "queue.h"

Go to the source code of this file.
Data Structures | |
| struct | Rect |
| Stores a rectangle, for example the size of a window, the child window etc. More... | |
| struct | reservedpx |
| Stores the reserved pixels on each screen edge read from a _NET_WM_STRUT_PARTIAL. More... | |
| struct | width_height |
| Stores a width/height pair, used as part of deco_render_params to check whether the rects width/height have changed. More... | |
| struct | deco_render_params |
| Stores the parameters for rendering a window decoration. More... | |
| struct | Workspace_Assignment |
| Stores which workspace (by name or number) goes to which output. More... | |
| struct | Ignore_Event |
| struct | Startup_Sequence |
| Stores internal information about a startup sequence, like the workspace it was initiated on. More... | |
| struct | regex |
| Regular expression wrapper. More... | |
| struct | Binding_Keycode |
| Stores a resolved keycode (from a keysym), including the modifier mask. More... | |
| struct | Binding |
| Holds a keybinding, consisting of a keycode combined with modifiers and the command which is executed as soon as the key is pressed (see src/config_parser.c) More... | |
| struct | Autostart |
| Holds a command specified by either an: More... | |
| struct | output_name |
| struct | xoutput |
| An Output is a physical output on your graphics driver. More... | |
| struct | Window |
| A 'Window' is a type which contains an xcb_window_t and all the related information (hints like _NET_WM_NAME for that window). More... | |
| struct | Match |
| A "match" is a data structure which acts like a mask or expression to match certain windows or not. More... | |
| struct | Assignment |
| An Assignment makes specific windows go to a specific workspace/output or run a command for that window. More... | |
| struct | mark_t |
| struct | Con |
| A 'Con' represents everything from the X11 root window down to a single X11 window. More... | |
Macros | |
| #define | SN_API_NOT_YET_FROZEN 1 |
Typedefs | |
| typedef struct Binding | Binding |
| typedef struct Rect | Rect |
| typedef struct xoutput | Output |
| typedef struct Con | Con |
| typedef struct Match | Match |
| typedef struct Assignment | Assignment |
| typedef struct Window | i3Window |
| typedef struct mark_t | mark_t |
| typedef uint32_t | i3_event_state_mask_t |
| The lower 16 bits contain a xcb_key_but_mask_t, the higher 16 bits contain an i3_xkb_group_mask_t. More... | |
Enumerations | |
| enum | direction_t { D_LEFT, D_RIGHT, D_UP, D_DOWN } |
| enum | orientation_t { NO_ORIENTATION = 0, HORIZ, VERT } |
| enum | border_style_t { BS_NORMAL = 0, BS_NONE = 1, BS_PIXEL = 2 } |
| enum | kill_window_t { DONT_KILL_WINDOW = 0, KILL_WINDOW = 1, KILL_CLIENT = 2 } |
| parameter to specify whether tree_close_internal() and x_window_kill() should kill only this specific window or the whole X11 client More... | |
| enum | adjacent_t { ADJ_NONE = 0, ADJ_LEFT_SCREEN_EDGE = (1 << 0), ADJ_RIGHT_SCREEN_EDGE = (1 << 1), ADJ_UPPER_SCREEN_EDGE = (1 << 2), ADJ_LOWER_SCREEN_EDGE = (1 << 4) } |
| describes if the window is adjacent to the output (physical screen) edges. More... | |
| enum | hide_edge_borders_mode_t { HEBM_NONE = ADJ_NONE, HEBM_VERTICAL = ADJ_LEFT_SCREEN_EDGE | ADJ_RIGHT_SCREEN_EDGE, HEBM_HORIZONTAL = ADJ_UPPER_SCREEN_EDGE | ADJ_LOWER_SCREEN_EDGE, HEBM_BOTH = HEBM_VERTICAL | HEBM_HORIZONTAL, HEBM_SMART = (1 << 5) } |
| enum | mark_mode_t { MM_REPLACE, MM_ADD } |
| enum | layout_t { L_DEFAULT = 0, L_STACKED = 1, L_TABBED = 2, L_DOCKAREA = 3, L_OUTPUT = 4, L_SPLITV = 5, L_SPLITH = 6 } |
| Container layouts. More... | |
| enum | input_type_t { B_KEYBOARD = 0, B_MOUSE = 1 } |
| Binding input types. More... | |
| enum | i3_xkb_group_mask_t { I3_XKB_GROUP_MASK_ANY = 0, I3_XKB_GROUP_MASK_1 = (1 << 0), I3_XKB_GROUP_MASK_2 = (1 << 1), I3_XKB_GROUP_MASK_3 = (1 << 2), I3_XKB_GROUP_MASK_4 = (1 << 3) } |
| Bitmask for matching XCB_XKB_GROUP_1 to XCB_XKB_GROUP_4. More... | |
| enum | warping_t { POINTER_WARPING_OUTPUT = 0, POINTER_WARPING_NONE = 1 } |
| Mouse pointer warping modes. More... | |
| enum | fullscreen_mode_t { CF_NONE = 0, CF_OUTPUT = 1, CF_GLOBAL = 2 } |
| Fullscreen modes. More... | |
Functions | |
| struct Rect | __attribute__ ((packed)) |
Variables | |
| uint32_t | x |
| uint32_t | y |
| uint32_t | width |
| uint32_t | height |
| struct reservedpx | __attribute__ |
| typedef struct Assignment Assignment |
| typedef uint32_t i3_event_state_mask_t |
The lower 16 bits contain a xcb_key_but_mask_t, the higher 16 bits contain an i3_xkb_group_mask_t.
This type is necessary for the fallback logic to work when handling XKB groups (see ticket #1775) and makes the code which locates keybindings upon KeyPress/KeyRelease events simpler.
| enum adjacent_t |
| enum border_style_t |
| enum direction_t |
| enum fullscreen_mode_t |
| enum i3_xkb_group_mask_t |
| enum input_type_t |
| enum kill_window_t |
parameter to specify whether tree_close_internal() and x_window_kill() should kill only this specific window or the whole X11 client
| Enumerator | |
|---|---|
| DONT_KILL_WINDOW | |
| KILL_WINDOW | |
| KILL_CLIENT | |
| enum layout_t |
Container layouts.
See Con::layout.
| Enumerator | |
|---|---|
| L_DEFAULT | |
| L_STACKED | |
| L_TABBED | |
| L_DOCKAREA | |
| L_OUTPUT | |
| L_SPLITV | |
| L_SPLITH | |
| enum mark_mode_t |
| enum orientation_t |
| enum warping_t |
| struct Rect __attribute__ | ( | (packed) | ) |
| struct reservedpx __attribute__ |
Referenced by main().
| uint32_t height |
Definition at line 130 of file data.h.
Referenced by CFGFUN(), con_minimum_size(), fake_outputs_init(), handle_configure_request(), handle_normal_hints(), main(), query_screens(), randr_query_outputs(), render_output(), and x_push_node().
| uint32_t width |
Definition at line 129 of file data.h.
Referenced by CFGFUN(), con_minimum_size(), fake_outputs_init(), handle_configure_request(), handle_normal_hints(), main(), query_screens(), randr_query_outputs(), and x_push_node().
| uint32_t x |
Definition at line 127 of file data.h.
Referenced by cmd_move_window_to_position(), fake_outputs_init(), floating_move_to_pointer(), floating_resize(), handle_configure_request(), render_output(), sighandler_draw_dialog(), and update_placeholder_contents().
| uint32_t y |
Definition at line 128 of file data.h.
Referenced by _workspace_show(), con_on_remove_child(), dump_bar_bindings(), dump_bar_config(), dump_binding(), dump_event_state_mask(), dump_node(), dump_rect(), fake_outputs_init(), floating_move_to_pointer(), floating_resize(), handle_configure_request(), IPC_HANDLER(), ipc_marshal_workspace_event(), ipc_send_barconfig_update_event(), ipc_send_binding_event(), ipc_send_shutdown_event(), ipc_send_window_event(), ipc_send_workspace_event(), render_output(), sighandler_draw_dialog(), and update_placeholder_contents().
1.8.13