From 4feb8c7dab2b0a3492b8248ee12c3f0a475106f1 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Fri, 29 Aug 2025 18:21:48 +0200 Subject: Use wayland.Context instead of *const wayland.Context --- src/wl/surface.zig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/wl/surface.zig') diff --git a/src/wl/surface.zig b/src/wl/surface.zig index 7b5116e..07cd80b 100644 --- a/src/wl/surface.zig +++ b/src/wl/surface.zig @@ -31,7 +31,7 @@ preferred_buffer_transform: wl.Output.Transform = .normal, pub fn init( self: *Self, - ctx: *const wayland.Context, + ctx: wayland.Context, ) !void { self.* = .{ .handle = try ctx.display.registry.add_object( @@ -43,14 +43,14 @@ pub fn init( pub fn deinit( self: *Self, - ctx: *const wayland.Context, + ctx: wayland.Context, ) void { ctx.display.registry.disable_object(self.handle); } fn enter( self: *Self, - ctx: *const wayland.Context, + ctx: wayland.Context, output: *wayland.Object, ) void { _ = self; @@ -61,7 +61,7 @@ fn enter( fn leave( self: *Self, - ctx: *const wayland.Context, + ctx: wayland.Context, output: *wayland.Object, ) void { _ = self; @@ -72,7 +72,7 @@ fn leave( fn preferred_buffer_scale_announced( self: *Self, - ctx: *const wayland.Context, + ctx: wayland.Context, factor: u32, ) void { _ = ctx; @@ -82,7 +82,7 @@ fn preferred_buffer_scale_announced( fn preferred_buffer_transform_announced( self: *Self, - ctx: *const wayland.Context, + ctx: wayland.Context, transform: wl.Output.Transform, ) void { _ = ctx; -- cgit v1.2.3-70-g09d2