toplevel-management: send output enter on map

This commit is contained in:
Isaac Freund 2021-02-17 22:01:45 +01:00
parent 5887d54f04
commit 3d66cbd2d4
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11

View file

@ -459,6 +459,8 @@ pub fn map(self: *Self) void {
if (self.getTitle()) |s| self.foreign_toplevel_handle.?.setTitle(s); if (self.getTitle()) |s| self.foreign_toplevel_handle.?.setTitle(s);
if (self.getAppId()) |s| self.foreign_toplevel_handle.?.setAppId(s); if (self.getAppId()) |s| self.foreign_toplevel_handle.?.setAppId(s);
self.foreign_toplevel_handle.?.outputEnter(self.output.wlr_output);
} }
// Add the view to the stack of its output // Add the view to the stack of its output