Simplify initialization functions

This commit is contained in:
Isaac Freund
2020-03-25 16:24:21 +01:00
parent 34e47360f5
commit ac0c0449dc
3 changed files with 53 additions and 77 deletions

View File

@ -60,8 +60,7 @@ pub const Server = struct {
try self.root.init(self);
self.seat = try Seat.create(self);
try self.seat.init();
try self.seat.init(self);
// Register our listeners for new outputs and xdg_surfaces.
self.listen_new_output.notify = handle_new_output;