From 180cc31d874c27c6ce20b68ee500ef42ca4d3897 Mon Sep 17 00:00:00 2001 From: rhodes-b <59537185+rhodes-b@users.noreply.github.com> Date: Sat, 20 Sep 2025 21:41:15 -0500 Subject: [PATCH] fix comments to specific the config option --- src/apprt/gtk/class/surface.zig | 6 +++--- src/apprt/gtk/ui/1.2/surface.blp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apprt/gtk/class/surface.zig b/src/apprt/gtk/class/surface.zig index 9253e3981..dc6637655 100644 --- a/src/apprt/gtk/class/surface.zig +++ b/src/apprt/gtk/class/surface.zig @@ -623,9 +623,9 @@ pub const Surface = extern struct { /// should be applied to the surface fn closureShouldUnfocusedSplitBeShown( _: *Self, - unfocused_split_: c_int, + unfocused_split: c_int, ) callconv(.c) c_int { - return @intFromBool(unfocused_split_ != 0); + return @intFromBool(unfocused_split != 0); } pub fn toggleFullscreen(self: *Self) void { @@ -2025,7 +2025,7 @@ pub const Surface = extern struct { _ = glib.idleAddOnce(idleFocus, self.ref()); self.as(gobject.Object).notifyByPspec(properties.focused.impl.param_spec); - // remove unfocused split fill and opacity + // remove unfocused-split-fill and unfocused-split-opacity priv.unfocused_split = false; self.as(gobject.Object).notifyByPspec(properties.@"unfocused-split".impl.param_spec); diff --git a/src/apprt/gtk/ui/1.2/surface.blp b/src/apprt/gtk/ui/1.2/surface.blp index ba17393b5..ba1556a61 100644 --- a/src/apprt/gtk/ui/1.2/surface.blp +++ b/src/apprt/gtk/ui/1.2/surface.blp @@ -116,7 +116,7 @@ Overlay terminal_page { } [overlay] - // Apply unfocused-split-fill and unfocused-split opacity to current surface + // Apply unfocused-split-fill and unfocused-split-opacity to current surface // this is only applied when a tab has more than one surface Revealer { reveal-child: bind $should_unfocused_split_be_shown(template.unfocused-split) as ;