Fix a bug in the initialization mechanism of wsmouse.
authorbru <bru@openbsd.org>
Sun, 16 Oct 2022 18:23:44 +0000 (18:23 +0000)
committerbru <bru@openbsd.org>
Sun, 16 Oct 2022 18:23:44 +0000 (18:23 +0000)
commit254cedb6cced23bd36e41e14f2524278db7cc70a
tree0f48ca0eb2fd8cc06ba0435d766ee1fae84ac5e0
parent39dc533fdf40db727adba3c4aa3c6e88565b3d5b
Fix a bug in the initialization mechanism of wsmouse.

The CONFIGURED flag, which indicates that first-time initialization
has been completed, must be set immediately after the first call to
wstpad_configure.  Otherwise, passing touchpad parameters to the
initialization function has no effect for some of them.
sys/dev/wscons/wsmouse.c