Remove assert that was causing crashes
This commit is contained in:
parent
930dcb7dcd
commit
ed9e9c4d16
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user