]> git.sur5r.net Git - i3/i3/blob - include/assignments.h
Merge branch 'next'
[i3/i3] / include / assignments.h
1 /*
2  * vim:ts=4:sw=4:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
6  *
7  * assignments.c: Assignments for specific windows (for_window).
8  *
9  */
10 #ifndef I3_ASSIGNMENTS_H
11 #define I3_ASSIGNMENTS_H
12
13 /**
14  * Checks the list of assignments for the given window and runs all matching
15  * ones (unless they have already been run for this specific window).
16  *
17  */
18 void run_assignments(i3Window *window);
19
20 /**
21  * Returns the first matching assignment for the given window.
22  *
23  */
24 Assignment *assignment_for(i3Window *window, int type);
25
26 #endif