mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 13:30:29 +00:00
apprt/gtk: use new get effective title
This commit is contained in:
@@ -691,7 +691,7 @@ const Command = extern struct {
|
||||
defer surface.unref();
|
||||
|
||||
const alloc = priv.arena.allocator();
|
||||
const effective_title = surface.getTitleOverride() orelse surface.getTitle() orelse "Untitled";
|
||||
const effective_title = surface.getEffectiveTitle() orelse "Untitled";
|
||||
|
||||
j.title = std.fmt.allocPrintSentinel(
|
||||
alloc,
|
||||
@@ -717,7 +717,7 @@ const Command = extern struct {
|
||||
defer surface.unref();
|
||||
|
||||
const alloc = priv.arena.allocator();
|
||||
const title = surface.getTitleOverride() orelse surface.getTitle() orelse "Untitled";
|
||||
const title = surface.getEffectiveTitle() orelse "Untitled";
|
||||
const pwd = surface.getPwd();
|
||||
|
||||
if (pwd) |p| {
|
||||
|
||||
Reference in New Issue
Block a user