summaryrefslogtreecommitdiffstats
path: root/include/widgets/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/widgets/window.h')
-rw-r--r--include/widgets/window.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/widgets/window.h b/include/widgets/window.h
index 6d8a90a1..3c320d10 100644
--- a/include/widgets/window.h
+++ b/include/widgets/window.h
@@ -32,6 +32,13 @@ window * window_create ( const char *name );
*/
void window_add ( window *window, widget *child );
+/**
+ * @param window Handle to the window widget.
+ *
+ * Get the border width of the widget.
+ *
+ * @returns the border width (times 2) of the widget.
+ */
int window_get_border_width ( const window *window );
/*@}*/
#endif // ROFI_WINDOW_H