2011-05-15 14:10:25 -04:00
|
|
|
/*
|
|
|
|
* vim:ts=4:sw=4:expandtab
|
|
|
|
*
|
2011-10-25 16:19:38 -04: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 14:10:25 -04:00
|
|
|
*/
|
2013-12-28 21:11:50 -05:00
|
|
|
#pragma once
|
2011-05-15 14:10:25 -04: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 12:41:17 -04:00
|
|
|
/**
|
|
|
|
* Returns the first matching assignment for the given window.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
Assignment *assignment_for(i3Window *window, int type);
|