input: fix setting hint_is_pending

when the hint_is_pending is true, it should assign the hint_pending to the hint and set the hint_is_pending to false, but the hint_is_pending set to true again after setting to false.

remove the redundant line to fix this.

Signed-off-by:  Vorlune Zhang <Vorlune.Zhang@gmail.com>
This commit is contained in:
vorlunez 2025-12-16 15:16:15 +08:00
parent 582ae5385b
commit 025f5a7c45

View file

@ -4877,7 +4877,6 @@ pointer_constraint_surface_committed(struct wl_listener *listener, void *data)
if (constraint->hint_is_pending) { if (constraint->hint_is_pending) {
constraint->hint_is_pending = false; constraint->hint_is_pending = false;
constraint->hint_is_pending = true;
constraint->hint = constraint->hint_pending; constraint->hint = constraint->hint_pending;
} }