bool match_is_empty(Match *match);
/**
- * Check if a match data structure matches the given window.
+ * Copies the data of a match from src to dest.
*
*/
-bool match_matches_window(Match *match, i3Window *window);
+void match_copy(Match *dest, Match *src);
/**
- * Returns the first match in 'assignments' that matches the given window.
+ * Check if a match data structure matches the given window.
*
*/
-Match *match_by_assignment(i3Window *window);
+bool match_matches_window(Match *match, i3Window *window);
#endif