13 #define SN_API_NOT_YET_FROZEN 1
14 #include <libsn/sn-launcher.h>
16 #include <xcb/randr.h>
223 B_UPON_KEYRELEASE = 1,
228 B_UPON_KEYRELEASE_IGNORE_MODS = 2,
284 xcb_randr_output_t
id;
351 enum { W_NODOCK = 0, W_DOCK_TOP = 1, W_DOCK_BOTTOM = 2 } dock;
354 struct timeval urgent;
403 enum { M_HERE = 0, M_ASSIGN_WS, M_BELOW } insert_where;
435 A_COMMAND = (1 << 0),
436 A_TO_WORKSPACE = (1 << 1),
437 A_TO_OUTPUT = (1 << 2)
541 enum { CF_NONE = 0, CF_OUTPUT = 1, CF_GLOBAL = 2 } fullscreen_mode;
565 FLOATING_AUTO_OFF = 0,
566 FLOATING_USER_OFF = 1,
567 FLOATING_AUTO_ON = 2,
577 void(*on_remove_child)(Con *);
585 SCRATCHPAD_FRESH = 1,
588 SCRATCHPAD_CHANGED = 2
Assignment ** ran_assignments
char * name
Name of the output.
uint8_t ignore_unmap
This counter contains the number of UnmapNotify events for this container (or, more precisely...
A 'Con' represents everything from the X11 root window down to a single X11 window.
char * symbol
Symbol the user specified in configfile, if any.
struct all_cons_head all_cons
Stores which workspace (by name) goes to which output.
kill_window_t
parameter to specify whether tree_close() and x_window_kill() should kill only this specific window o...
#define SLIST_ENTRY(type)
Stores a rectangle, for example the size of a window, the child window etc.
border_style_t border_style
char * role
The WM_WINDOW_ROLE of this window (for example, the pidgin buddy window sets "buddy list")...
An Assignment makes specific windows go to a specific workspace/output or run a command for that wind...
adjacent_t
describes if the window is adjacent to the output (physical screen) edges.
bool name_x_changed
Flag to force re-rendering the decoration upon changes.
struct width_height con_rect
struct _i3String i3String
Opaque data structure for storing strings.
struct width_height con_window_rect
i3String * name
The name of the window.
A "match" is a data structure which acts like a mask or expression to match certain windows or not...
layout_t
Container layouts.
xcb_randr_output_t id
Output id, so that we can requery the output directly later.
struct Colortriple * color
Holds a keybinding, consisting of a keycode combined with modifiers and the command which is executed...
bool doesnt_accept_focus
Whether this window accepts focus.
char * workspace
workspace on which this startup was initiated
A 'Window' is a type which contains an xcb_window_t and all the related information (hints like _NET_...
bool uses_net_wm_name
Whether the application used _NET_WM_NAME.
char * command
Command, like in command mode.
struct ws_assignments_head ws_assignments
#define TAILQ_HEAD(name, type)
char * id
startup ID for this sequence, generated by libstartup-notification
SnLauncherContext * context
libstartup-notification context for this launch
struct outputs_head outputs
Stores the reserved pixels on each screen edge read from a _NET_WM_STRUT_PARTIAL. ...
struct autostarts_head autostarts
Rect rect
x, y, width, height
xcb_window_t leader
Holds the xcb_window_t (just an ID) for the leader window (logical parent for toolwindows and similar...
Stores the parameters for rendering a window decoration.
bool no_startup_id
no_startup_id flag for start_application().
struct regex * application
struct autostarts_always_head autostarts_always
time_t delete_at
time at which this sequence should be deleted (after it was marked as completed)
TAILQ_ENTRY(Workspace_Assignment) ws_assignments
Stores a width/height pair, used as part of deco_render_params to check whether the rects width/heigh...
bool active
Whether the output is currently active (has a CRTC attached with a valid mode)
An Output is a physical output on your graphics driver.
bool changed
Internal flags, necessary for querying RandR screens (happens in two stages)
uint16_t depth
Depth of the window.
uint32_t keycode
Keycode to bind.
struct deco_render_params * deco_render_params
Cache for the decoration rendering.
struct ev_timer * urgency_timer
int num
the workspace number, if this Con is of type CT_WORKSPACE and the workspace is not a named workspace ...
Stores internal information about a startup sequence, like the workspace it was initiated on...
layout_t workspace_layout
Part of the struct Config.
uint32_t mods
Bitmask consisting of BIND_MOD_1, BIND_MODE_SWITCH, …
char * command
Command, like in command mode.
xcb_window_t transient_for
struct bindings_head * bindings
Con * con
Pointer to the Con which represents this output.
uint32_t nr_assignments
Pointers to the Assignments which were already ran for this Window (assignments run only once) ...
Match match
the criteria to check if a window matches
Regular expression wrapper.
xcb_keycode_t * translated_to
Only in use if symbol != NULL.
struct reservedpx __attribute__
struct assignments_head assignments
Holds a command specified by either an:
bool needs_take_focus
Whether the application needs to receive WM_TAKE_FOCUS.