From aa62d78fc2a49ba2bd7246dd29173ffb2b7f3165 Mon Sep 17 00:00:00 2001 From: Raiden1411 <67233402+Raiden1411@users.noreply.github.com> Date: Sun, 5 Nov 2023 12:03:08 +0000 Subject: [PATCH] chore: add log to setTitle --- src/Surface.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Surface.zig b/src/Surface.zig index a6cf70087..096b89a22 100644 --- a/src/Surface.zig +++ b/src/Surface.zig @@ -670,6 +670,7 @@ pub fn handleMessage(self: *Surface, msg: Message) !void { // The ptrCast just gets sliceTo to return the proper type. // We know that our title should end in 0. if (self.config.title) |title| { + log.debug("setting title \"{s}\"", .{title}); try self.rt_surface.setTitle(title); } else { const slice = std.mem.sliceTo(@as([*:0]const u8, @ptrCast(v)), 0);