fix comments to specific the config option

pull/8813/head
rhodes-b 2025-09-20 21:41:15 -05:00
parent fa5a44e591
commit 180cc31d87
2 changed files with 4 additions and 4 deletions

View File

@ -623,9 +623,9 @@ pub const Surface = extern struct {
/// should be applied to the surface /// should be applied to the surface
fn closureShouldUnfocusedSplitBeShown( fn closureShouldUnfocusedSplitBeShown(
_: *Self, _: *Self,
unfocused_split_: c_int, unfocused_split: c_int,
) callconv(.c) c_int { ) callconv(.c) c_int {
return @intFromBool(unfocused_split_ != 0); return @intFromBool(unfocused_split != 0);
} }
pub fn toggleFullscreen(self: *Self) void { pub fn toggleFullscreen(self: *Self) void {
@ -2025,7 +2025,7 @@ pub const Surface = extern struct {
_ = glib.idleAddOnce(idleFocus, self.ref()); _ = glib.idleAddOnce(idleFocus, self.ref());
self.as(gobject.Object).notifyByPspec(properties.focused.impl.param_spec); 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; priv.unfocused_split = false;
self.as(gobject.Object).notifyByPspec(properties.@"unfocused-split".impl.param_spec); self.as(gobject.Object).notifyByPspec(properties.@"unfocused-split".impl.param_spec);

View File

@ -116,7 +116,7 @@ Overlay terminal_page {
} }
[overlay] [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 // this is only applied when a tab has more than one surface
Revealer { Revealer {
reveal-child: bind $should_unfocused_split_be_shown(template.unfocused-split) as <bool>; reveal-child: bind $should_unfocused_split_be_shown(template.unfocused-split) as <bool>;