i3
|
A "match" is a data structure which acts like a mask or expression to match certain windows or not. More...
#include <data.h>
Public Types | |
enum | { U_DONTCHECK = -1, U_LATEST = 0, U_OLDEST = 1 } |
enum | { M_DONTCHECK = -1, M_NODOCK = 0, M_DOCK_ANY = 1, M_DOCK_TOP = 2, M_DOCK_BOTTOM = 3 } |
enum | { M_ANY = 0, M_TILING, M_FLOATING } |
enum | { M_HERE = 0, M_ASSIGN_WS, M_BELOW } |
Public Member Functions | |
TAILQ_ENTRY (Match) matches | |
Data Fields | |
struct regex * | title |
struct regex * | application |
struct regex * | class |
struct regex * | instance |
struct regex * | mark |
struct regex * | window_role |
enum Match:: { ... } | urgent |
enum Match:: { ... } | dock |
xcb_window_t | id |
enum Match:: { ... } | floating |
Con * | con_id |
enum Match:: { ... } | insert_where |
bool | restart_mode |
A "match" is a data structure which acts like a mask or expression to match certain windows or not.
For example, when using commands, you can specify a command like this: [title="*Firefox*"] kill. The title member of the match data structure will then be filled and i3 will check each window using match_matches_window() to find the windows affected by this command.
anonymous enum |
Match::TAILQ_ENTRY | ( | Match | ) |
struct regex* Match::application |
Definition at line 392 of file data.h.
Referenced by match_free(), and match_is_empty().
struct regex* Match::class |
Definition at line 393 of file data.h.
Referenced by CFGFUN(), cmd_criteria_add(), json_string(), match_free(), match_is_empty(), and match_matches_window().
Con* Match::con_id |
Definition at line 411 of file data.h.
Referenced by CFGFUN(), cmd_criteria_add(), cmd_criteria_match_windows(), and match_is_empty().
enum { ... } Match::dock |
Referenced by dump_node(), json_int(), match_init(), match_is_empty(), match_matches_window(), and output_init_con().
enum { ... } Match::floating |
Referenced by match_is_empty().
xcb_window_t Match::id |
Definition at line 409 of file data.h.
Referenced by CFGFUN(), cmd_criteria_add(), json_int(), match_is_empty(), and match_matches_window().
enum { ... } Match::insert_where |
Referenced by dump_node(), json_int(), manage_window(), and output_init_con().
struct regex* Match::instance |
Definition at line 394 of file data.h.
Referenced by CFGFUN(), cmd_criteria_add(), json_string(), match_free(), match_is_empty(), and match_matches_window().
struct regex* Match::mark |
Definition at line 395 of file data.h.
Referenced by CFGFUN(), cmd_criteria_add(), cmd_criteria_match_windows(), match_free(), match_is_empty(), and match_matches_window().
bool Match::restart_mode |
Definition at line 429 of file data.h.
Referenced by json_bool(), and manage_window().
struct regex* Match::title |
Definition at line 391 of file data.h.
Referenced by CFGFUN(), cmd_criteria_add(), json_string(), match_free(), match_is_empty(), and match_matches_window().
enum { ... } Match::urgent |
Referenced by CFGFUN(), cmd_criteria_add(), match_init(), match_is_empty(), and match_matches_window().
struct regex* Match::window_role |
Definition at line 396 of file data.h.
Referenced by CFGFUN(), cmd_criteria_add(), json_string(), match_free(), match_is_empty(), and match_matches_window().