Skip to content

Commit

Permalink
Update to wlroots master commit eb30cde
Browse files Browse the repository at this point in the history
  • Loading branch information
ifreund committed Jan 1, 2021
1 parent d2e2dad commit 73594ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions river/Server.zig
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub fn init(self: *Self) !void {
errdefer self.sigterm_source.remove();

// This frees itself when the wl.Server is destroyed
self.backend = try wlr.Backend.autocreate(self.wl_server, null);
self.backend = try wlr.Backend.autocreate(self.wl_server);

// This backend is used to create a noop output for use when no actual
// outputs are available. This frees itself when the wl.Server is destroyed.
Expand Down Expand Up @@ -136,7 +136,6 @@ pub fn deinit(self: *Self) void {

self.root.deinit();

self.noop_backend.destroy();
self.wl_server.destroy();

self.input_manager.deinit();
Expand Down
2 changes: 1 addition & 1 deletion river/render.zig
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub fn renderOutput(output: *Output) void {

output.wlr_output.attachRender(null) catch return;

renderer.begin(output.wlr_output.width, output.wlr_output.height);
renderer.begin(@intCast(u32, output.wlr_output.width), @intCast(u32, output.wlr_output.height));

// Find the first visible fullscreen view in the stack if there is one
var it = ViewStack(View).iter(output.views.first, .forward, output.current.tags, renderFilter);
Expand Down

0 comments on commit 73594ee

Please sign in to comment.