linux: allow title to be changed again

This commit is contained in:
Joshua Holmes 2024-12-20 07:16:39 +00:00 committed by Emi Gutekanst
parent 27aee7c036
commit f39d47e49c
2 changed files with 17 additions and 11 deletions

View file

@ -243,7 +243,7 @@ pub fn tick(window_id: mach.ObjectID) !void {
_ = libwaylandclient.wl_display_roundtrip(wl.display);
}
pub fn setTitle(wl: *Wayland, title: [:0]const u8) void {
pub fn setTitle(wl: *const Native, title: [:0]const u8) void {
c.xdg_toplevel_set_title(wl.toplevel, title);
}