From 2bcd8277c4af0758fae0df971467231d279bf00d Mon Sep 17 00:00:00 2001 From: lynxy Date: Mon, 14 Jul 2025 23:47:42 +0200 Subject: [PATCH] comments: added short description to view_edge enum --- include/view.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/view.h b/include/view.h index c4824803..1e54f898 100644 --- a/include/view.h +++ b/include/view.h @@ -28,7 +28,6 @@ * In labwc, a view is a container for surfaces which can be moved around by * the user. In practice this means XDG toplevel and XWayland windows. */ - enum view_type { LAB_XDG_SHELL_VIEW, #if HAVE_XWAYLAND @@ -59,6 +58,12 @@ enum view_axis { VIEW_AXIS_INVALID = (1 << 2), }; +/** + * Edges to which a view can be snapped to. "All" is used as + * a catchall for every valid edge in order to simplify certain + * types of conditionals, but it is only valid for a selection + * of options in rc.xml. + */ enum view_edge { VIEW_EDGE_INVALID = 0,