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
|
2015-04-04 02:17:56 +02:00
|
|
|
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
|
2011-10-25 22:19:38 +02:00
|
|
|
*
|
|
|
|
* assignments.c: Assignments for specific windows (for_window).
|
|
|
|
*
|
2011-05-15 20:10:25 +02:00
|
|
|
*/
|
2013-12-29 03:11:50 +01:00
|
|
|
#pragma once
|
2011-05-15 20:10:25 +02:00
|
|
|
|
2016-10-11 09:13:35 +02:00
|
|
|
#include <config.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);
|