#include <xcb/randr.h>
#include <xcb/xcb_atom.h>
#include <stdbool.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) goes to which output. More... | |
struct | Ignore_Event |
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/command.c). More... | |
struct | Autostart |
Holds a command specified by either an:
| |
struct | Font |
Data structure for cached font information:
| |
struct | xoutput |
An Output is a physical output on your graphics driver. More... | |
struct | Window |
struct | Match |
struct | Assignment |
An Assignment makes specific windows go to a specific workspace/output or run a command for that window. More... | |
struct | Con |
Typedefs | |
typedef struct Font | i3Font |
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 |
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_1PIXEL = 2 } |
enum | kill_window_t { DONT_KILL_WINDOW = 0, KILL_WINDOW = 1, KILL_CLIENT = 2 } |
parameter to specify whether tree_close() and x_window_kill() should kill only this specific window or the whole X11 client More... | |
enum | { BIND_NONE = 0, BIND_SHIFT = XCB_MOD_MASK_SHIFT, BIND_CONTROL = XCB_MOD_MASK_CONTROL, BIND_MOD1 = XCB_MOD_MASK_1, BIND_MOD2 = XCB_MOD_MASK_2, BIND_MOD3 = XCB_MOD_MASK_3, BIND_MOD4 = XCB_MOD_MASK_4, BIND_MOD5 = XCB_MOD_MASK_5, BIND_MODE_SWITCH = (1 << 8) } |
Variables | |
struct Rect | packed |
Stores a rectangle, for example the size of a window, the child window etc. |
typedef struct Assignment Assignment |
anonymous enum |
enum border_style_t |
enum direction_t |
enum kill_window_t |
parameter to specify whether tree_close() and x_window_kill() should kill only this specific window or the whole X11 client
enum orientation_t |
Stores a rectangle, for example the size of a window, the child window etc.
It needs to be packed so that the compiler will not add any padding bytes. (it is used in src/ewmh.c for example)
Note that x and y can contain signed values in some cases (for example when used for the coordinates of a window, which can be set outside of the visible area, but not when specifying the position of a workspace for the _NET_WM_WORKAREA hint). Not declaring x/y as int32_t saves us a lot of typecasts.