aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--river/View.zig18
1 files changed, 0 insertions, 18 deletions
diff --git a/river/View.zig b/river/View.zig
index bb73335..7d38f1d 100644
--- a/river/View.zig
+++ b/river/View.zig
@@ -354,22 +354,6 @@ pub fn sendToOutput(self: *Self, destination_output: *Output) void {
}
}
-fn sendEnter(self: *Self, output: *Output) void {
- self.forEachSurface(*wlr.Output, sendEnterIterator, output.wlr_output);
-}
-
-fn sendEnterIterator(surface: *wlr.Surface, _: c_int, _: c_int, wlr_output: *wlr.Output) void {
- surface.sendEnter(wlr_output);
-}
-
-fn sendLeave(self: *Self, output: *Output) void {
- self.forEachSurface(*wlr.Output, sendLeaveIterator, output.wlr_output);
-}
-
-fn sendLeaveIterator(surface: *wlr.Surface, _: c_int, _: c_int, wlr_output: *wlr.Output) void {
- surface.sendLeave(wlr_output);
-}
-
pub fn close(self: Self) void {
switch (self.impl) {
.xdg_toplevel => |xdg_toplevel| xdg_toplevel.close(),
@@ -516,8 +500,6 @@ pub fn map(self: *Self) !void {
var it = server.input_manager.seats.first;
while (it) |seat_node| : (it = seat_node.next) try seat_node.data.handleViewMap(self);
- self.sendEnter(self.output);
-
self.output.sendViewTags();
self.applyPending();