|
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 | { WM_ANY = 0, WM_TILING, WM_FLOATING } |
| enum | { M_HERE = 0, M_ASSIGN_WS, M_BELOW } |
Data Fields | |
| char * | error |
| struct regex * | title |
| struct regex * | application |
| struct regex * | class |
| struct regex * | instance |
| struct regex * | mark |
| struct regex * | window_role |
| struct regex * | workspace |
| xcb_atom_t | window_type |
| enum Match:: { ... } | urgent |
| enum Match:: { ... } | dock |
| xcb_window_t | id |
| enum Match:: { ... } | window_mode |
| Con * | con_id |
| enum Match:: { ... } | insert_where |
| matches | |
| 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 |
| struct regex* Match::application |
Definition at line 488 of file data.h.
Referenced by match_free(), and match_is_empty().
| struct regex* Match::class |
Definition at line 489 of file data.h.
Referenced by json_string(), match_free(), match_is_empty(), match_matches_window(), and match_parse_property().
| Con* Match::con_id |
Definition at line 511 of file data.h.
Referenced by cmd_criteria_match_windows(), match_is_empty(), and match_parse_property().
| enum { ... } Match::dock |
Referenced by dump_node(), json_int(), match_is_empty(), match_matches_window(), open_placeholder_window(), output_init_con(), and TAILQ_HEAD().
| char* Match::error |
Definition at line 485 of file data.h.
Referenced by match_free(), and match_parse_property().
| xcb_window_t Match::id |
Definition at line 507 of file data.h.
Referenced by json_int(), match_is_empty(), match_matches_window(), match_parse_property(), and open_placeholder_window().
| enum { ... } Match::insert_where |
Referenced by dump_node(), json_int(), manage_window(), and output_init_con().
| struct regex* Match::instance |
Definition at line 490 of file data.h.
Referenced by json_string(), match_free(), match_is_empty(), match_matches_window(), and match_parse_property().
| struct regex* Match::mark |
Definition at line 491 of file data.h.
Referenced by cmd_criteria_match_windows(), match_free(), match_is_empty(), match_matches_window(), and match_parse_property().
| bool Match::restart_mode |
Definition at line 532 of file data.h.
Referenced by dump_node(), json_bool(), and manage_window().
| struct regex* Match::title |
Definition at line 487 of file data.h.
Referenced by json_string(), match_free(), match_is_empty(), match_matches_window(), and match_parse_property().
| enum { ... } Match::urgent |
Referenced by match_init(), match_is_empty(), match_matches_window(), and match_parse_property().
| enum { ... } Match::window_mode |
Referenced by match_init(), match_is_empty(), match_matches_window(), and match_parse_property().
| struct regex* Match::window_role |
Definition at line 492 of file data.h.
Referenced by json_string(), match_free(), match_is_empty(), match_matches_window(), and match_parse_property().
| xcb_atom_t Match::window_type |
Definition at line 494 of file data.h.
Referenced by match_init(), match_is_empty(), match_matches_window(), and match_parse_property().
| struct regex* Match::workspace |
Definition at line 493 of file data.h.
Referenced by match_free(), match_is_empty(), match_matches_window(), and match_parse_property().
1.8.13