Codebase list i3-gaps / 49a74b55-30e5-4938-9b63-cf1b0d6b1aad/main include / assignments.h
49a74b55-30e5-4938-9b63-cf1b0d6b1aad/main

Tree @49a74b55-30e5-4938-9b63-cf1b0d6b1aad/main (Download .tar.gz)

assignments.h @49a74b55-30e5-4938-9b63-cf1b0d6b1aad/mainraw · history · blame

/*
 * vim:ts=4:sw=4:expandtab
 *
 * i3 - an improved dynamic tiling window manager
 * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
 *
 * assignments.c: Assignments for specific windows (for_window).
 *
 */
#pragma once

#include <config.h>

/**
 * 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);