rename setUnfocused to setUnfocusedFill

pull/8813/head
rhodes-b 2025-09-20 20:24:51 -05:00
parent 52c2f02fa4
commit cfcd11863e
2 changed files with 2 additions and 2 deletions

View File

@ -713,7 +713,7 @@ pub const SplitTree = extern struct {
if (!surface.getFocused()) { if (!surface.getFocused()) {
// If we have more than 1 active surface and we aren't focused we want to apply unfocused-split-fill // 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 (self.getTree()) |tree| {
if (tree.nodes.len > 1) surface.setUnfocused(); if (tree.nodes.len > 1) surface.setUnfocusedFill();
} }
return; return;
} }

View File

@ -1493,7 +1493,7 @@ pub const Surface = extern struct {
} }
/// If unfocused add the unfocused-split widget for this surface /// 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(); const priv = self.private();
if (!priv.focused and (priv.unfocused_widget == null)) { if (!priv.focused and (priv.unfocused_widget == null)) {
priv.unfocused_widget = unfocused_widget: { priv.unfocused_widget = unfocused_widget: {