From cfcd11863ee0ea9b225117d96213b7eb41b87801 Mon Sep 17 00:00:00 2001 From: rhodes-b <59537185+rhodes-b@users.noreply.github.com> Date: Sat, 20 Sep 2025 20:24:51 -0500 Subject: [PATCH] rename setUnfocused to setUnfocusedFill --- src/apprt/gtk/class/split_tree.zig | 2 +- src/apprt/gtk/class/surface.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apprt/gtk/class/split_tree.zig b/src/apprt/gtk/class/split_tree.zig index 6ea84d055..825aebeb3 100644 --- a/src/apprt/gtk/class/split_tree.zig +++ b/src/apprt/gtk/class/split_tree.zig @@ -713,7 +713,7 @@ pub const SplitTree = extern struct { if (!surface.getFocused()) { // If we have more than 1 active surface and we aren't focused we want to apply unfocused-split-fill if (self.getTree()) |tree| { - if (tree.nodes.len > 1) surface.setUnfocused(); + if (tree.nodes.len > 1) surface.setUnfocusedFill(); } return; } diff --git a/src/apprt/gtk/class/surface.zig b/src/apprt/gtk/class/surface.zig index eb1e17823..7e1ea057f 100644 --- a/src/apprt/gtk/class/surface.zig +++ b/src/apprt/gtk/class/surface.zig @@ -1493,7 +1493,7 @@ pub const Surface = extern struct { } /// If unfocused add the unfocused-split widget for this surface - pub fn setUnfocused(self: *Self) void { + pub fn setUnfocusedFill(self: *Self) void { const priv = self.private(); if (!priv.focused and (priv.unfocused_widget == null)) { priv.unfocused_widget = unfocused_widget: {