aboutsummaryrefslogtreecommitdiff
path: root/src/view.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-04-26 11:08:11 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-04-26 11:08:56 +0200
commit609eeae6f446247f2cc3219d65b25647de828cb3 (patch)
tree64d7839c002e50a159dbf8e01085f72ca3e545b5 /src/view.zig
parentf133d0b391b93df6ef90e5f6db51ee36ec47c938 (diff)
downloadriver-609eeae6f446247f2cc3219d65b25647de828cb3.tar.gz
river-609eeae6f446247f2cc3219d65b25647de828cb3.tar.xz
Support wlr-screencopy
Closes https://github.com/ifreund/river/issues/7
Diffstat (limited to 'src/view.zig')
-rw-r--r--src/view.zig2
1 files changed, 1 insertions, 1 deletions
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