i3
Functions
assignments.h File Reference
#include <config.h>
Include dependency graph for assignments.h:
This graph shows which files directly or indirectly include this file:

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). More...
 
Assignmentassignment_for (i3Window *window, int type)
 Returns the first matching assignment for the given window. More...
 

Function Documentation

◆ assignment_for()

Assignment* assignment_for ( i3Window window,
int  type 
)

Returns the first matching assignment for the given window.

Definition at line 69 of file assignments.c.

References assignments, DLOG, Assignment::match, match_matches_window(), TAILQ_FOREACH, and Assignment::type.

Referenced by manage_window().

Here is the call graph for this function:

◆ run_assignments()

void run_assignments ( i3Window window)