diff options
Diffstat (limited to 'include/rofi.h')
-rw-r--r-- | include/rofi.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/rofi.h b/include/rofi.h index e9eb5396..49cc4305 100644 --- a/include/rofi.h +++ b/include/rofi.h @@ -219,4 +219,14 @@ extern Settings config; */ void error_dialog ( char *msg ); +/** + * @param w The Window to read property from. + * @param atom The property identifier + * + * Get text property defined by atom from window. + * Support utf8. + * + * @returns a newly allocated string with the result or NULL + */ +char* window_get_text_prop ( Window w, Atom atom ); #endif |