#include <xcb/xcb.h>#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 | Cell |
| Defines a position in the table. More... | |
| struct | Colorpixel |
| Used for the cache of colorpixels. More... | |
| struct | Cached_Pixmap |
| struct | Stack_Window |
| Contains data for the windows needed to draw the titlebars on in stacking mode. More... | |
| struct | Ignore_Event |
| struct | keyvalue_element |
| Emulates the behaviour of tables of libxcb-wm, which in libxcb 0.3.4 suddenly vanished. More... | |
| struct | Workspace |
| The concept of Workspaces is known from various other window managers. 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/command.c). More... | |
| struct | Autostart |
| Holds a command specified by an exec-line in the config (see src/config.c). More... | |
| struct | Assignment |
| Holds an assignment for a given window class/title to a specific workspace (see src/config.c). More... | |
| struct | Font |
Data structure for cached font information:
| |
| struct | Client |
| A client is X11-speak for a window. More... | |
| struct | Container |
| A container is either in default, stacking or tabbed mode. More... | |
| struct | xoutput |
| An Output is a physical output on your graphics driver. More... | |
Typedefs | |
| typedef struct Cell | Cell |
| typedef struct Font | i3Font |
| typedef struct Container | Container |
| typedef struct Client | Client |
| typedef struct Binding | Binding |
| typedef struct Workspace | Workspace |
| typedef struct Rect | Rect |
| typedef struct xoutput | Output |
Enumerations | |
| enum | direction_t { D_LEFT, D_RIGHT, D_UP, D_DOWN } |
| 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) } |
Functions | |
| struct Rect | __attribute__ ((packed)) |
| Stores a rectangle, for example the size of a window, the child window etc. | |
Variables | |
| uint32_t | x |
| uint32_t | y |
| uint32_t | width |
| uint32_t | height |
| struct Cell | __attribute__ |
| Defines a position in the table. | |
| anonymous enum |
| enum direction_t |
| struct Rect __attribute__ | ( | (packed) | ) |
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.
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.
| struct Cell __attribute__ |
Defines a position in the table.
| uint32_t height |
Definition at line 105 of file data.h.
Referenced by client_min_height(), get_unoccupied_y(), handle_configure_request(), handle_normal_hints(), handle_signal(), query_screens(), randr_query_outputs(), render_container(), render_workspace(), and workspace_height().
| uint32_t width |
Definition at line 104 of file data.h.
Referenced by button_press_stackwin(), client_min_width(), handle_configure_request(), handle_normal_hints(), handle_signal(), predict_text_width(), query_screens(), randr_query_outputs(), and render_workspace().
| uint32_t x |
Definition at line 102 of file data.h.
Referenced by handle_configure_request(), and open_input_window().
| uint32_t y |
Definition at line 103 of file data.h.
Referenced by handle_configure_request(), and open_input_window().
1.7.1