https://bugs.kde.org/show_bug.cgi?id=499807

--- Comment #8 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
(In reply to Werner Sembach [TUXEDO] from comment #7)
> (In reply to Vlad Zahorodnii from comment #6)
> > Okay,
> > 
> > supportsDisableEvents: true
> > supportsDisableEventsOnExternalMouse: true
> > 
> > are fine. I'm not sure what we can do on the kwin side. kwin will call
> > libinput_device_config_send_events_set_mode() with
> > LIBINPUT_CONFIG_SEND_EVENTS_DISABLED if a touchpad is disabled. And as I
> > said previously, I don't think we will be able to support closing input
> > device fds manually, it will make input device management very difficult,
> > and maybe it's a libinput bug. If the input device file descriptor needs to
> > be closed, libinput could do it in
> > libinput_device_config_send_events_set_mode() while still keeping the
> > libinput_device object alive.
> 
> New infos: I added some printf debugging to the kernel, when on desktop
> there are actually 2 file descriptors open for the touchpad, only one gets
> closed when deactivating it.
> 
> Some something else, maybe unrelated to kwin, is also listening to it?

Maybe it's logind? kwin uses it to open device files that require special
privileges.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to