i3
assignments.h
Go to the documentation of this file.
1 /*
2  * vim:ts=4:sw=4:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
6  *
7  * assignments.c: Assignments for specific windows (for_window).
8  *
9  */
10 #pragma once
11 
17 void run_assignments(i3Window *window);
18 
23 Assignment *assignment_for(i3Window *window, int type);
An Assignment makes specific windows go to a specific workspace/output or run a command for that wind...
Definition: data.h:440
Assignment * assignment_for(i3Window *window, int type)
Returns the first matching assignment for the given window.
Definition: assignments.c:72
A 'Window' is a type which contains an xcb_window_t and all the related information (hints like _NET_...
Definition: data.h:332
void run_assignments(i3Window *window)
Checks the list of assignments for the given window and runs all matching ones (unless they have alre...
Definition: assignments.c:19