]> git.sur5r.net Git - i3/i3/blobdiff - include/libi3.h
CONTRIBUTING: document people should use the `next` branch
[i3/i3] / include / libi3.h
index 7c0ead32be1df03170396c11ba09e606aefe3f2e..7a2bdf581c6bae07a32715b11977a283a7d1f8ae 100644 (file)
@@ -290,7 +290,8 @@ uint32_t get_mod_mask_for(uint32_t keysym,
 
 /**
  * Loads a font for usage, also getting its height. If fallback is true,
- * the fonts 'fixed' or '-misc-*' will be loaded instead of exiting.
+ * the fonts 'fixed' or '-misc-*' will be loaded instead of exiting. If any
+ * font was previously loaded, it will be freed.
  *
  */
 i3Font load_font(const char *pattern, const bool fallback);
@@ -302,7 +303,8 @@ i3Font load_font(const char *pattern, const bool fallback);
 void set_font(i3Font *font);
 
 /**
- * Frees the resources taken by the current font.
+ * Frees the resources taken by the current font. If no font was previously
+ * loaded, it simply returns.
  *
  */
 void free_font(void);