2011-05-15 20:10:25 +02:00
|
|
|
/*
|
|
|
|
* vim:ts=4:sw=4:expandtab
|
|
|
|
*
|
2011-10-25 22:19:38 +02:00
|
|
|
* i3 - an improved dynamic tiling window manager
|
|
|
|
* © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
|
|
|
|
*
|
|
|
|
* assignments.c: Assignments for specific windows (for_window).
|
|
|
|
*
|
2011-05-15 20:10:25 +02:00
|
|
|
*/
|
2012-09-21 15:36:25 +02:00
|
|
|
#ifndef I3_ASSIGNMENTS_H
|
|
|
|
#define I3_ASSIGNMENTS_H
|
2011-05-15 20:10:25 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Checks the list of assignments for the given window and runs all matching
|
|
|
|
* ones (unless they have already been run for this specific window).
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void run_assignments(i3Window *window);
|
|
|
|
|
2011-05-23 18:41:17 +02:00
|
|
|
/**
|
|
|
|
* Returns the first matching assignment for the given window.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
Assignment *assignment_for(i3Window *window, int type);
|
|
|
|
|
2011-05-15 20:10:25 +02:00
|
|
|
#endif
|