Re: [PATCH 3/4] Input: simplify event handling logic

From
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date
2024-07-01 16:31:32
Also in
lkml
Reply to
Benjamin Tissoires, 2024-07-01
On Mon, Jul 01, 2024 at 09:41:22AM +0200, Benjamin Tissoires wrote:
On Jun 30 2024, Dmitry Torokhov wrote:
quoted
 /*
  * 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
Thread (12 messages) 12 messages, 2 authors, last reply 2024-07-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help