e2ebe3e2ae
#pragma once is safer and simpler. According to Wikipedia it's supported by all major compilers.
24 lines
573 B
C
24 lines
573 B
C
/*
|
|
* vim:ts=4:sw=4:expandtab
|
|
*
|
|
* i3 - an improved dynamic tiling window manager
|
|
* © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
|
|
*
|
|
* assignments.c: Assignments for specific windows (for_window).
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
/**
|
|
* 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);
|
|
|
|
/**
|
|
* Returns the first matching assignment for the given window.
|
|
*
|
|
*/
|
|
Assignment *assignment_for(i3Window *window, int type);
|