mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-01-07 08:50:14 +01:00
scanner: use mangle_name for the interface name
This commit is contained in:
parent
99b36ba652
commit
fa07430683
1 changed files with 1 additions and 2 deletions
|
|
@ -463,8 +463,7 @@ class ProtocolParser(xml.sax.handler.ContentHandler):
|
|||
self.location,
|
||||
)
|
||||
|
||||
if name.startswith("ei"):
|
||||
name = f"{self.component}{name[2:]}"
|
||||
name = Interface.mangle_name(name, self.component)
|
||||
# We only create the interface on the first run, in subsequent runs we
|
||||
# re-use them so we can cross reference correctly
|
||||
if self._run_counter > 1:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue