]> git.mdlowis.com Git - proto/labwc.git/commitdiff
comments: added short description to view_edge enum
authorlynxy <git@lynxdev.xyz>
Mon, 14 Jul 2025 21:47:42 +0000 (23:47 +0200)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Sat, 19 Jul 2025 03:29:55 +0000 (12:29 +0900)
include/view.h

index c48248039839c0e64a2c8757b6935d78b5208f82..1e54f898442fc9fc0ac2c11d4f070a1bbb1799cf 100644 (file)
@@ -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,