12 #define PCRE2_CODE_UNIT_WIDTH 8 14 #define SN_API_NOT_YET_FROZEN 1 15 #include <libsn/sn-launcher.h> 17 #include <xcb/randr.h> 20 #include <cairo/cairo.h> 163 #define QUBE_NUM_LABELS 9 382 xcb_randr_output_t
id;
char * workspace
workspace on which this startup was initiated
struct assignments_head assignments
struct outputs_head outputs
struct autostarts_head autostarts
bool border
If this is true for a mouse binding, the binding should be executed when the button is pressed over t...
bool input_shaped
The window has a nonrectangular input shape.
i3_event_state_mask_t modifiers
enum Match::@14 window_mode
char * title_format
The format with which the window's name should be displayed.
A 'Window' is a type which contains an xcb_window_t and all the related information (hints like _NET_...
layout_t workspace_layout
bool exclude_titlebar
If this is true for a mouse binding, the binding should only be executed if the button press was not ...
layout_t
Container layouts.
i3_event_state_mask_t event_state_mask
Bitmask which is applied against event->state for KeyPress and KeyRelease events to determine whether...
uint32_t keycode
Keycode to bind.
char * role
The WM_WINDOW_ROLE of this window (for example, the pidgin buddy window sets "buddy list")...
struct bindings_head * bindings
warping_t
Mouse pointer warping modes.
xcb_window_t transient_for
SLIST_ENTRY(output_name) names
uint16_t depth
Depth of the window.
bool uses_net_wm_name
Whether the application used _NET_WM_NAME.
struct autostarts_always_head autostarts_always
struct deco_render_params * deco_render_params
Cache for the decoration rendering.
A 'Con' represents everything from the X11 root window down to a single X11 window.
bool changed
Internal flags, necessary for querying RandR screens (happens in two stages)
cairo_surface_t * icon
Window icon, as Cairo surface.
uint32_t nr_assignments
Pointers to the Assignments which were already ran for this Window (assignments run only once) ...
bool active
Whether the output is currently active (has a CRTC attached with a valid mode)
TAILQ_ENTRY(Assignment) assignments
input_type_t
Binding input types.
TAILQ_HEAD(keycodes_head, Binding_Keycode) keycodes_head
Only in use if symbol != NULL.
bool no_startup_id
no_startup_id flag for start_application().
int num
the workspace number, if this Con is of type CT_WORKSPACE and the workspace is not a named workspace ...
TAILQ_ENTRY(xoutput) outputs
char * command
Command, like in command mode.
TAILQ_HEAD(marks_head, mark_t) marks_head
TAILQ_ENTRY(Autostart) autostarts
struct width_height con_window_rect
struct ws_assignments_head ws_assignments
struct pending_marks * marks
kill_window_t
parameter to specify whether tree_close_internal() and x_window_kill() should kill only this specific...
bool name_x_changed
Flag to force re-rendering the decoration upon changes.
uint8_t ignore_unmap
This counter contains the number of UnmapNotify events for this container (or, more precisely...
char * id
startup ID for this sequence, generated by libstartup-notification
An Assignment makes specific windows go to a specific workspace/output or run a command for that wind...
Stores the parameters for rendering a window decoration.
bool shaped
The window has a nonrectangular shape.
enum Con::@20 scratchpad_state
xcb_window_t leader
Holds the xcb_window_t (just an ID) for the leader window (logical parent for toolwindows and similar...
fullscreen_mode_t
Fullscreen modes.
int qubes_label
The qubes label.
struct regex * window_role
TAILQ_ENTRY(mark_t) marks
enum Window::@11 dock
Whether the window says it is a dock window.
SLIST_HEAD(names_head, output_name) names_head
List of names for the output.
Match match
the criteria to check if a window matches
Stores a resolved keycode (from a keysym), including the modifier mask.
Rect rect
x, y, width, height
SnLauncherContext * context
libstartup-notification context for this launch
Part of the struct Config.
A "match" is a data structure which acts like a mask or expression to match certain windows or not...
struct all_cons_head all_cons
bool whole_window
If this is true for a mouse binding, the binding should be executed when the button is pressed over a...
struct Colortriple * color
void(* on_remove_child)(Con *)
callbacks
Stores a rectangle, for example the size of a window, the child window etc.
i3String * qubes_vmname
The name of the qubes vm.
i3_xkb_group_mask_t
Bitmask for matching XCB_XKB_GROUP_1 to XCB_XKB_GROUP_4.
fullscreen_mode_t fullscreen_mode
int window_icon_padding
Whether the window icon should be displayed, and with what padding.
TAILQ_ENTRY(Workspace_Assignment) ws_assignments
struct reservedpx reserved
Pixels the window reserves.
time_t delete_at
time at which this sequence should be deleted (after it was marked as completed)
i3String * name
The name of the window.
enum Match::@15 insert_where
TAILQ_ENTRY(Binding_Keycode) keycodes
xcb_randr_output_t id
Output id, so that we can requery the output directly later.
Stores a width/height pair, used as part of deco_render_params to check whether the rects width/heigh...
struct regex * application
struct _i3String i3String
Opaque data structure for storing strings.
char * symbol
Symbol the user specified in configfile, if any.
adjacent_t
describes if the window is adjacent to the output (physical screen) edges.
xcb_atom_t window_type
The _NET_WM_WINDOW_TYPE for this window.
TAILQ_ENTRY(Startup_Sequence) sequences
TAILQ_ENTRY(Binding) bindings
union Assignment::@17 dest
destination workspace/command/output, depending on the type
layout_t last_split_layout
focus_wrapping_t
Focus wrapping modes.
enum Con::@19 floating
floating? (= not in tiling layout) This cannot be simply a bool because we want to keep track of whet...
Holds a command specified by either an:
Regular expression wrapper.
qube_label_t
Qubes colors.
char * machine
WM_CLIENT_MACHINE of the window.
Stores which workspace (by name or number) goes to which output.
Con * con
Pointer to the Con which represents this output.
Stores the reserved pixels on each screen edge read from a _NET_WM_STRUT_PARTIAL. ...
bool doesnt_accept_focus
Whether this window accepts focus.
enum Assignment::@16 type
type of this assignment:
An Output is a physical output on your graphics driver.
SLIST_ENTRY(Ignore_Event) ignore_events
TAILQ_ENTRY(Match) matches
char * command
Command, like in command mode.
Holds a keybinding, consisting of a keycode combined with modifiers and the command which is executed...
Assignment ** ran_assignments
border_style_t border_style
enum Binding::@10 release
If true, the binding should be executed upon a KeyRelease event, not a KeyPress (the default)...
Stores internal information about a startup sequence, like the workspace it was initiated on...
struct ev_timer * urgency_timer
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.
struct timeval urgent
When this window was marked urgent.
bool needs_take_focus
Whether the application needs to receive WM_TAKE_FOCUS.
uint32_t wm_desktop
The _NET_WM_DESKTOP for this window.
struct Rect geometry
the geometry this window requested when getting mapped
struct width_height con_rect