]> git.sur5r.net Git - i3/i3/blobdiff - include/window.h
Merge pull request #2103 from Airblader/bug-2091
[i3/i3] / include / window.h
index 7a248277abd09cf92fa564998f07602544d066f9..395c9883d702c983a5c79bb5ea9f4407b38b1572 100644 (file)
@@ -81,3 +81,10 @@ void window_update_hints(i3Window *win, xcb_get_property_reply_t *prop, bool *ur
  *
  */
 void window_update_motif_hints(i3Window *win, xcb_get_property_reply_t *prop, border_style_t *motif_border_style);
+
+/**
+ * Returns the window title considering the current title format.
+ * If no format is set, this will simply return the window's name.
+ *
+ */
+i3String *window_parse_title_format(i3Window *win);