summaryrefslogtreecommitdiff
path: root/src/web.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-15 16:50:50 -0300
committerGabriel Schneider <[email protected]>2026-09-15 17:24:42 -0300
commit9ce11bfeff73b96704e521b41cffe4625b02f103 (patch)
tree3aedcf15b6adc9c1ef4d1acff2146b7c352e6ba6 /src/web.zig
parent96725011b43d7bf56ac02e710ea4ef4a76f05351 (diff)
downloadpardes-9ce11bfeff73b96704e521b41cffe4625b02f103.tar.gz
pardes-9ce11bfeff73b96704e521b41cffe4625b02f103.zip
Reorder columns using aligned and distinctly colored tag grips
Diffstat (limited to 'src/web.zig')
-rw-r--r--src/web.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/web.zig b/src/web.zig
index a4e46276..72a7bb05 100644
--- a/src/web.zig
+++ b/src/web.zig
@@ -332,6 +332,10 @@ export fn pardes_cursor_x() i32 {
return if (s.core.surface.cursor) |cursor| cursor.x else -1;
}
+export fn pardes_grip_columns() u32 {
+ return @import("config.zig").GUTTER;
+}
+
export fn pardes_tag_layer_limit() u32 {
return pardes.MAX_TAG_LAYERS;
}