[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZoLZ4INw2gZjNzw1@google.com>
Date: Mon, 1 Jul 2024 09:31:28 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Benjamin Tissoires <bentiss@...nel.org>
Cc: linux-input@...r.kernel.org, Jeff LaBundy <jeff@...undy.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/4] Input: simplify event handling logic
On Mon, Jul 01, 2024 at 09:41:22AM +0200, Benjamin Tissoires wrote:
> On Jun 30 2024, Dmitry Torokhov wrote:
> > /*
> > * Pass values first through all filters and then, if event has not been
> > * filtered out, through all open handles. This function is called with
>
> Nitpick: maybe that comment above input_pass_values() should also be
> amended now that the processing is more straightforward?
I think the comment is still accurate from the higher POV. We do want to
send the event(s) first through all the filters and the remainder is
through the handlers. This is achieved by placing filters at the head of
the list of handles attacher to the device, and placing regular handles
at the tail of the list.
Do you want me to expand the comment?
Thanks.
--
Dmitry
Powered by blists - more mailing lists