PointerConstraint: remove overly tight assert 2

This is a second copy of the same assert that was removed in the last
commit. It should have been removed by that commit as well but was
overlooked.

(cherry picked from commit 680cb8ef699f89cd7ce0b613221e073b534c22c5)
This commit is contained in:
Isaac Freund 2024-05-18 16:28:28 +02:00
parent 7b42c38276
commit a019045a16
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -73,7 +73,6 @@ pub fn maybeActivate(constraint: *PointerConstraint) void {
const seat: *Seat = @ptrFromInt(constraint.wlr_constraint.seat.data);
assert(seat.cursor.constraint == constraint);
assert(seat.wlr_seat.keyboard_state.focused_surface == constraint.wlr_constraint.surface);
if (constraint.state == .active) return;