Skip to content

uinput: Fix initial init

Vicki Pfau requested to merge endrift/plasma-remotecontrollers:master into master

An optimization that would prevent re-opening the fd in case no keys changed caused the init to silently "fail" due to the fact that the initial set used to check if it could even init the fd was equal to the default (empty) set, bypassing init entirely. This led to falling back to kwin's fake-input system, which only works on Wayland, and crashes on non-Wayland (see #463325)

Merge request reports