i3
assignments.h
Go to the documentation of this file.
1/*
2 * vim:ts=4:sw=4:expandtab
3 *
4 * i3 - an improved tiling window manager
5 * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
6 *
7 * assignments.c: Assignments for specific windows (for_window).
8 *
9 */
10#pragma once
11
12#include <config.h>
13
19void run_assignments(i3Window *window);
20
25Assignment *assignment_for(i3Window *window, int type);
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:17
Assignment * assignment_for(i3Window *window, int type)
Returns the first matching assignment for the given window.
Definition assignments.c:74
A 'Window' is a type which contains an xcb_window_t and all the related information (hints like _NET_...
Definition data.h:424
An Assignment makes specific windows go to a specific workspace/output or run a command for that wind...
Definition data.h:594