Subject: Re: CVS commit: syssrc/sys/dev/wscons
To: None <drochner@netbsd.org>
From: Lennart Augustsson <lennart@augustsson.net>
List: source-changes
Date: 06/06/2002 11:52:19
This doesn't work (don't you think I would have done that if it was that
easy :).  It breaks in several scenarios, here's one:
    open wsmux
    open wsmouse
    close wsmux
now the mouse will be disableed because the mux close calls wsmouse_mux_close()

which calls the disable method in the mouse.

Will this ever deliver events back to the mux after the wsmouse has been opened

and closed?  I thought there was only one event variable pointer so the mux
event
variable pointer will get overwritten.

    -- Lennart

Matthias Drochner wrote:

> Module Name:    syssrc
> Committed By:   drochner
> Date:           Thu Jun  6 09:16:13 UTC 2002
>
> Modified Files:
>         syssrc/sys/dev/wscons: wsmouse.c
>
> Log Message:
> Don't detach the mouse from the mux just because the mouse device is
> opened. Too annoying and unnecessary.
>
> To generate a diff of this commit:
> cvs rdiff -r1.22 -r1.23 syssrc/sys/dev/wscons/wsmouse.c
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.