]> git.sur5r.net Git - i3/i3/blobdiff - include/match.h
output_push_sticky_windows: Make a bit easier to understand
[i3/i3] / include / match.h
index dbd9bb795b95975d173de9bfcc4f5745ec3f766b..4ff8c485bbed18fd45a27e290b7a40368f382882 100644 (file)
@@ -13,6 +13,8 @@
  */
 #pragma once
 
+#include <config.h>
+
 /*
  * Initializes the Match data structure. This function is necessary because the
  * members representing boolean values (like dock) need to be initialized with
@@ -45,3 +47,9 @@ bool match_matches_window(Match *match, i3Window *window);
  *
  */
 void match_free(Match *match);
+
+/**
+ * Interprets a ctype=cvalue pair and adds it to the given match specification.
+ *
+ */
+void match_parse_property(Match *match, const char *ctype, const char *cvalue);