libi3: Introduce get_visualtype

This commit is contained in:
Fernando Tarlá Cardoso Lemos
2011-11-14 21:39:03 -02:00
committed by Quentin Glidic
parent 210fc6dfed
commit 5d8ccc5912
2 changed files with 34 additions and 0 deletions

View File

@ -317,6 +317,12 @@ void draw_text_ascii(const char *text, xcb_drawable_t drawable,
*/
int predict_text_width(i3String *text);
/**
* Returns the visual type associated with the given screen.
*
*/
xcb_visualtype_t *get_visualtype(xcb_screen_t *screen);
/**
* Returns true if this version of i3 is a debug build (anything which is not a
* release version), based on the git version number.