From 609eeae6f446247f2cc3219d65b25647de828cb3 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sun, 26 Apr 2020 11:08:11 +0200 Subject: Support wlr-screencopy Closes https://github.com/ifreund/river/issues/7 --- src/view.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/view.zig') diff --git a/src/view.zig b/src/view.zig index 1c60080..7fab391 100644 --- a/src/view.zig +++ b/src/view.zig @@ -213,7 +213,7 @@ pub const View = struct { self.natural_height = @intCast(u32, self.wlr_xdg_surface.surface.*.current.height); } - const app_id: ?[*:0]const u8 = self.wlr_xdg_surface.unnamed_165.toplevel.*.app_id; + const app_id: ?[*:0]const u8 = self.wlr_xdg_surface.unnamed_166.toplevel.*.app_id; Log.Debug.log("View with app_id '{}' mapped", .{if (app_id) |id| id else "NULL"}); // Make views with app_ids listed in the float filter float -- cgit v1.2.3