summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/gui/gui.zig6
-rw-r--r--dev/jump_trail.zig2
-rw-r--r--dev/macos/Sources/AppDelegate.swift2
3 files changed, 5 insertions, 5 deletions
diff --git a/dev/gui/gui.zig b/dev/gui/gui.zig
index c147c2e2..3aed1ed6 100644
--- a/dev/gui/gui.zig
+++ b/dev/gui/gui.zig
@@ -595,7 +595,7 @@ fn acknowledgeGuiFont(g: *const Gui, core: *pardes.Pardes) void {
/// A replica client's font is the window's raster state: it follows the
/// session's request by the face's name on this machine (fonts.fromSession),
/// never acknowledging it or otherwise changing the replicated core.
-fn syncReplicaFont(g: *Gui, f: *const @FieldType(pardes.config.Runtime, "font"), gpa: std.mem.Allocator) bool {
+fn syncReplicaFont(g: *Gui, f: *const @FieldType(pardes.config.Settings, "font"), gpa: std.mem.Allocator) bool {
const path = f.requested_path.get();
const name = f.requested_name.get();
if (path.len == 0 and name.len == 0) return false;
@@ -5857,7 +5857,7 @@ fn cursorDecor(g: *Gui, gpa: std.mem.Allocator, surface: *const pardes.Surface,
/// The triangle overlay: the cursor's glide, over everything.
fn buildOverlay(
g: *Gui,
- which: pardes.config.Runtime.Pet,
+ which: pardes.config.Settings.Pet,
trail_on: bool,
surface: *const pardes.Surface,
now_ns: u64,
@@ -5906,7 +5906,7 @@ fn appendJumpTrail(g: *Gui, on: bool, surface: *const pardes.Surface, now_ns: u6
/// The workspace tag's pet (the Pet setting, gui/pet.zig): in the blank
/// end of the grid's first row, past the tag's text, in the tag's colours,
/// on the window's own clock. Nothing of it reaches the core.
-fn appendWorkspacePet(g: *Gui, which: pardes.config.Runtime.Pet, surface: *const pardes.Surface, builder: *OverlayBuilder) void {
+fn appendWorkspacePet(g: *Gui, which: pardes.config.Settings.Pet, surface: *const pardes.Surface, builder: *OverlayBuilder) void {
const kind: pet.Kind = @fromBackingInt(@backingInt(which));
if (kind == .off or surface.rows == 0 or surface.cols == 0) {
g.pet_state = .{};
diff --git a/dev/jump_trail.zig b/dev/jump_trail.zig
index 25eba636..05664ec1 100644
--- a/dev/jump_trail.zig
+++ b/dev/jump_trail.zig
@@ -4,7 +4,7 @@
//! the cursor of the Surface it shows, frame after frame, and times the fade
//! on its own clock; the tty tints those cells' ground toward the text, the
//! window draws over them. Nothing of it reaches the core, which keeps the
-//! setting alone (config.Runtime.jump_trail).
+//! setting alone (config.Settings.jump_trail).
const std = @import("std");
pub const life_ns: u64 = 120 * std.time.ns_per_ms;
diff --git a/dev/macos/Sources/AppDelegate.swift b/dev/macos/Sources/AppDelegate.swift
index 767d3766..4168999f 100644
--- a/dev/macos/Sources/AppDelegate.swift
+++ b/dev/macos/Sources/AppDelegate.swift
@@ -132,7 +132,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, PardesViewDelegate {
// to change the day macos_min_version reaches 14.
NSApp.activate(ignoringOtherApps: true)
- var runtime = pardes_runtime_s(
+ var runtime = pardes_callbacks_s(
userdata: Unmanaged.passUnretained(self).toOpaque(),
wakeup: { ud in
// A pty reader thread. Every other function in pardes.h is