Compare commits
No commits in common. "0c360e6e231e7431c910712f5442d05845cffce9" and "bf291b79cbde6010892a27087f613b2e469e45b5" have entirely different histories.
0c360e6e23
...
bf291b79cb
2 changed files with 2 additions and 6 deletions
|
|
@ -24,9 +24,6 @@ windows: mach.Objects(
|
|||
// TODO: allocation/free strategy
|
||||
title: [:0]const u8 = "Mach Window",
|
||||
|
||||
// XDG application ID of the window
|
||||
app_id: [:0]const u8 = "",
|
||||
|
||||
/// Texture format of the framebuffer (read-only)
|
||||
framebuffer_format: gpu.Texture.Format = .bgra8_unorm,
|
||||
|
||||
|
|
|
|||
|
|
@ -176,9 +176,6 @@ pub fn initWindow(
|
|||
core_window = core.windows.getValue(window_id);
|
||||
wl = &core_window.native.?.wayland;
|
||||
|
||||
c.xdg_toplevel_set_title(wl.toplevel, @ptrCast(core_window.title));
|
||||
c.xdg_toplevel_set_app_id(wl.toplevel, @ptrCast(core_window.app_id));
|
||||
|
||||
// Commit changes to surface
|
||||
c.wl_surface_commit(wl.surface);
|
||||
|
||||
|
|
@ -191,6 +188,8 @@ pub fn initWindow(
|
|||
if (result != -1 and wl.configured) break;
|
||||
}
|
||||
|
||||
c.xdg_toplevel_set_title(wl.toplevel, @ptrCast(core_window.title));
|
||||
|
||||
const decoration = c.zxdg_decoration_manager_v1_get_toplevel_decoration(
|
||||
wl.interfaces.zxdg_decoration_manager_v1,
|
||||
wl.toplevel,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue