Go to the documentation of this file.
14 #define SN_API_NOT_YET_FROZEN 1
15 #include <libsn/sn-launcher.h>
17 #include <xcb/randr.h>
313 B_UPON_KEYRELEASE = 1,
318 B_UPON_KEYRELEASE_IGNORE_MODS = 2,
332 bool exclude_titlebar;
397 xcb_randr_output_t
id;
476 W_DOCK_BOTTOM = 2 } dock;
479 struct timeval urgent;
553 WM_FLOATING } window_mode;
567 M_BELOW } insert_where;
600 A_COMMAND = (1 << 0),
601 A_TO_WORKSPACE = (1 << 1),
602 A_NO_FOCUS = (1 << 2),
603 A_TO_WORKSPACE_NUMBER = (1 << 3),
604 A_TO_OUTPUT = (1 << 4)
679 struct Rect window_rect;
682 struct Rect deco_rect;
684 struct Rect geometry;
706 int current_border_width;
711 struct ev_timer *urgency_timer;
750 layout_t layout, last_split_layout, workspace_layout;
759 FLOATING_AUTO_OFF = 0,
760 FLOATING_USER_OFF = 1,
761 FLOATING_AUTO_ON = 2,
778 void (*on_remove_child)(
Con *);
786 SCRATCHPAD_FRESH = 1,
789 SCRATCHPAD_CHANGED = 2
xcb_window_t transient_for
char * command
Command, like in command mode.
Stores which workspace (by name or number) goes to which output and its gaps config.
struct _i3String i3String
Opaque data structure for storing strings.
bool name_x_changed
Flag to force re-rendering the decoration upon changes.
bool doesnt_accept_focus
Whether this window accepts focus.
focus_wrapping_t
Focus wrapping modes.
struct regex * application
struct Colortriple * color
Stores internal information about a startup sequence, like the workspace it was initiated on.
xcb_randr_output_t id
Output id, so that we can requery the output directly later.
warping_t
Mouse pointer warping modes.
struct autostarts_head autostarts
char * role
The WM_WINDOW_ROLE of this window (for example, the pidgin buddy window sets "buddy list").
A 'Window' is a type which contains an xcb_window_t and all the related information (hints like _NET_...
struct all_cons_head all_cons
layout_t
Container layouts.
uint8_t ignore_unmap
This counter contains the number of UnmapNotify events for this container (or, more precisely,...
Stores a resolved keycode (from a keysym), including the modifier mask.
Match match
the criteria to check if a window matches
bool no_startup_id
no_startup_id flag for start_application().
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.
xcb_atom_t window_type
The _NET_WM_WINDOW_TYPE for this window.
#define SLIST_ENTRY(type)
i3String * name
The name of the window.
kill_window_t
parameter to specify whether tree_close_internal() and x_window_kill() should kill only this specific...
An Assignment makes specific windows go to a specific workspace/output or run a command for that wind...
uint32_t nr_assignments
Pointers to the Assignments which were already ran for this Window (assignments run only once)
An Output is a physical output on your graphics driver.
Stores the reserved pixels on each screen edge read from a _NET_WM_STRUT_PARTIAL.
int num
the workspace number, if this Con is of type CT_WORKSPACE and the workspace is not a named workspace ...
Assignment ** ran_assignments
Holds a command specified by either an:
struct width_height con_rect
Regular expression wrapper.
struct autostarts_always_head autostarts_always
SnLauncherContext * context
libstartup-notification context for this launch
struct width_height con_window_rect
A "match" is a data structure which acts like a mask or expression to match certain windows or not.
Part of the struct Config.
@ SMART_GAPS_INVERSE_OUTER
Stores the parameters for rendering a window decoration.
struct pending_marks * marks
bool uses_net_wm_name
Whether the application used _NET_WM_NAME.
gaps_t gaps
Only applicable for containers of type CT_WORKSPACE.
bool input_shaped
The window has a nonrectangular input shape.
struct outputs_head outputs
fullscreen_mode_t
Fullscreen modes.
struct bindings_head * bindings
Holds a keybinding, consisting of a keycode combined with modifiers and the command which is executed...
adjacent_t
describes if the window is adjacent to the output (physical screen) edges.
i3_event_state_mask_t modifiers
#define SLIST_HEAD(name, type)
uint16_t depth
Depth of the window.
i3_xkb_group_mask_t
Bitmask for matching XCB_XKB_GROUP_1 to XCB_XKB_GROUP_4.
#define TAILQ_ENTRY(type)
bool shaped
The window has a nonrectangular shape.
bool changed
Internal flags, necessary for querying RandR screens (happens in two stages)
struct assignments_head assignments
A 'Con' represents everything from the X11 root window down to a single X11 window.
bool active
Whether the output is currently active (has a CRTC attached with a valid mode)
char * id
startup ID for this sequence, generated by libstartup-notification
struct regex * window_role
char * workspace
workspace on which this startup was initiated
xcb_window_t leader
Holds the xcb_window_t (just an ID) for the leader window (logical parent for toolwindows and similar...
Stores a width/height pair, used as part of deco_render_params to check whether the rects width/heigh...
#define TAILQ_HEAD(name, type)
char * title_format
The format with which the window's name should be displayed.
input_type_t
Binding input types.
bool needs_take_focus
Whether the application needs to receive WM_TAKE_FOCUS.
@ FOCUS_WRAPPING_WORKSPACE
time_t delete_at
time at which this sequence should be deleted (after it was marked as completed)
uint32_t wm_desktop
The _NET_WM_DESKTOP for this window.
Stores a rectangle, for example the size of a window, the child window etc.