From 025f5a7c4561a80023ae0d77dcda7f516c6ae34e Mon Sep 17 00:00:00 2001 From: vorlunez Date: Tue, 16 Dec 2025 15:16:15 +0800 Subject: [PATCH] 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 --- libweston/input.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libweston/input.c b/libweston/input.c index bbfbb5e73..38b3f9510 100644 --- a/libweston/input.c +++ b/libweston/input.c @@ -4877,7 +4877,6 @@ pointer_constraint_surface_committed(struct wl_listener *listener, void *data) if (constraint->hint_is_pending) { constraint->hint_is_pending = false; - constraint->hint_is_pending = true; constraint->hint = constraint->hint_pending; }