i3
|
#include <config.h>
Go to the source code of this file.
Functions | |
void | run_assignments (i3Window *window) |
Checks the list of assignments for the given window and runs all matching ones (unless they have already been run for this specific window). | |
Assignment * | assignment_for (i3Window *window, int type) |
Returns the first matching assignment for the given window. | |
Assignment * assignment_for | ( | i3Window * | window, |
int | type ) |
Returns the first matching assignment for the given window.
Definition at line 74 of file assignments.c.
References assignments, DLOG, Assignment::match, match_matches_window(), TAILQ_FOREACH, and Assignment::type.
Referenced by manage_window().
void run_assignments | ( | i3Window * | window | ) |
Checks the list of assignments for the given window and runs all matching ones (unless they have already been run for this specific window).
Definition at line 17 of file assignments.c.
References assignments, Assignment::command, command_result_free(), Assignment::dest, DLOG, Window::id, Assignment::match, match_matches_window(), CommandResult::needs_tree_render, Window::nr_assignments, parse_command(), Window::ran_assignments, sasprintf(), srealloc(), TAILQ_FOREACH, tree_render(), and Assignment::type.
Referenced by manage_window(), remanage_window(), and window_update_type().