summaryrefslogtreecommitdiffstats
path: root/include/rofi.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-02-02 14:49:19 +0100
committerDave Davenport <qball@gmpclient.org>2015-02-02 14:49:19 +0100
commitca876feec6e65bfde27306ae5fdc0750c868aecd (patch)
tree5cb79a733d6f211d7040d7b7573d3a8ab34a0024 /include/rofi.h
parentd081b3e6f5f7266790a7c4485edef71e00ee9919 (diff)
Put i3 specific interaction code in separate file.
Diffstat (limited to 'include/rofi.h')
-rw-r--r--include/rofi.h10
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