summaryrefslogtreecommitdiffstats
path: root/include/xcb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xcb.h')
-rw-r--r--include/xcb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/xcb.h b/include/xcb.h
index a9d33b8c..d56b2cf3 100644
--- a/include/xcb.h
+++ b/include/xcb.h
@@ -249,4 +249,11 @@ void cairo_image_surface_blur(cairo_surface_t *surface, double radius,
void x11_event_handler_fowarding(xcb_xim_t *im, xcb_xic_t ic,
xcb_key_press_event_t *event, void *user_data);
#endif
+
+/**
+ * Get the currently detected window manager.
+ *
+ * @returns NULL when non found, otherwise a string (free with g_free)
+ */
+char *x11_helper_get_window_manager(void);
#endif