]> git.sur5r.net Git - i3/i3/blobdiff - include/assignments.h
Workspace renaming: Interpret outputs as nondirectional
[i3/i3] / include / assignments.h
index ecd8b8082f9462af6f43001cc3c27c778e7fd530..a4dc766b5e96e59b7be80a5799b58e9b7a1dab96 100644 (file)
@@ -1,9 +1,15 @@
 /*
  * 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).
+ *
  */
-#ifndef _ASSIGNMENTS_H
-#define _ASSIGNMENTS_H
+#pragma once
+
+#include <config.h>
 
 /**
  * Checks the list of assignments for the given window and runs all matching
@@ -12,4 +18,8 @@
  */
 void run_assignments(i3Window *window);
 
-#endif
+/**
+ * Returns the first matching assignment for the given window.
+ *
+ */
+Assignment *assignment_for(i3Window *window, int type);