KWin may call pointer or touch-related function even if the corresponding capabilities are missing.
mentioned in commit 7bb544f3