Remove assert that was causing crashes

This commit is contained in:
Alexander Rosenberg 2024-05-16 00:55:37 -07:00
parent 930dcb7dcd
commit ed9e9c4d16
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -71,7 +71,7 @@ pub fn sendFocusedView(seat_status: SeatStatus) void {
if (seat_status.seat_status_v1.getVersion() >= 4) { if (seat_status.seat_status_v1.getVersion() >= 4) {
switch (seat_status.seat.focused) { switch (seat_status.seat.focused) {
.view => |view| { .view => |view| {
assert(view.inflight.tags == view.current.tags); //assert(view.inflight.tags == view.current.tags);
seat_status.seat_status_v1.sendFocusedView(view.getTitle() orelse "", view.current.tags); seat_status.seat_status_v1.sendFocusedView(view.getTitle() orelse "", view.current.tags);
}, },
else => seat_status.seat_status_v1.sendFocusedView("", 0), else => seat_status.seat_status_v1.sendFocusedView("", 0),