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