aboutsummaryrefslogtreecommitdiff
path: root/src/wl/surface.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/wl/surface.zig')
-rw-r--r--src/wl/surface.zig12
1 files changed, 6 insertions, 6 deletions
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;