summaryrefslogtreecommitdiff
path: root/dev/gui/gui.zig
diff options
context:
space:
mode:
Diffstat (limited to 'dev/gui/gui.zig')
-rw-r--r--dev/gui/gui.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/gui/gui.zig b/dev/gui/gui.zig
index 49c412ba..c3272957 100644
--- a/dev/gui/gui.zig
+++ b/dev/gui/gui.zig
@@ -584,7 +584,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;
@@ -3312,7 +3312,7 @@ fn kindJob(ctx: ?*anyopaque, id: pardes.Pane.Id, serial: u32, token: u32) void {
fn search(ctx: ?*anyopaque, gen: u32) void {
const s = shellOf(ctx);
if (s.threads_ok) return pardes.Stream.start(s.io, s.gpa, s.core, gen, s.queue, Queue.pushSearch);
- pardes.Stream.runHere(s.core, gen);
+ pardes.Stream.runHere(s.core, gen, true);
}
/// Handover `seq`'s dump to its file, and a worker to carry it to another
@@ -5622,7 +5622,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,
@@ -5671,7 +5671,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 = .{};