2011-05-15 22:10:25 +04:00
|
|
|
/*
|
|
|
|
* vim:ts=4:sw=4:expandtab
|
|
|
|
*
|
2011-10-26 00:19:38 +04:00
|
|
|
* i3 - an improved dynamic tiling window manager
|
2015-04-04 03:17:56 +03:00
|
|
|
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
|
2011-10-26 00:19:38 +04:00
|
|
|
*
|
|
|
|
* assignments.c: Assignments for specific windows (for_window).
|
|
|
|
*
|
2011-05-15 22:10:25 +04:00
|
|
|
*/
|
2013-12-29 06:11:50 +04:00
|
|
|
#pragma once
|
2011-05-15 22:10:25 +04:00
|
|
|
|
2016-10-11 10:13:35 +03:00
|
|
|
#include <config.h>
|
|
|
|
|
2011-05-15 22: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 20:41:17 +04:00
|
|
|
/**
|
|
|
|
* Returns the first matching assignment for the given window.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
Assignment *assignment_for(i3Window *window, int type);
|