mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 04:40:07 +01:00
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:
parent
582ae5385b
commit
025f5a7c45
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue