This commit is contained in:
Daniel Langbein 2022-05-23 12:58:29 +02:00
parent 13c589d0b4
commit 32acf8af44

View File

@ -170,7 +170,7 @@ class Xrandr:
class Xinput: class Xinput:
@classmethod @classmethod
def map_to_output(cls, device_id: int, screen: str): def map_to_output(cls, device_id: int, screen: str):
execute(['xinput', '--map-to-output', device_id, screen]) execute(['xinput', '--map-to-output', str(device_id), screen])
@classmethod @classmethod
def get_devices(cls) -> list[Device]: def get_devices(cls) -> list[Device]: