i3
Functions
match.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void match_init (Match *match)
 
bool match_is_empty (Match *match)
 Check if a match is empty. More...
 
void match_copy (Match *dest, Match *src)
 Copies the data of a match from src to dest. More...
 
bool match_matches_window (Match *match, i3Window *window)
 Check if a match data structure matches the given window. More...
 
void match_free (Match *match)
 Frees the given match. More...
 

Function Documentation

void match_copy ( Match dest,
Match src 
)

Copies the data of a match from src to dest.

Definition at line 60 of file match.c.

References DUPLICATE_REGEX.

Referenced by CFGFUN().

void match_free ( Match match)

Frees the given match.

It must not be used afterwards!

Definition at line 191 of file match.c.

References Match::application, Match::class, FREE, Match::instance, Match::mark, regex_free(), Match::title, and Match::window_role.

Referenced by json_end_map(), load_configuration(), and TAILQ_HEAD().

Here is the call graph for this function:

void match_init ( Match match)

Definition at line 28 of file match.c.

References Match::dock, and Match::urgent.

Referenced by CFGFUN(), output_init_con(), and TAILQ_HEAD().

bool match_is_empty ( Match match)
bool match_matches_window ( Match match,
i3Window window 
)